Fix time expiration listeners from ending early
This commit is contained in:
parent
a97335c7e3
commit
44037cfb36
@ -260,7 +260,7 @@ impl Listener {
|
||||
|
||||
let expire = match self.expiration {
|
||||
Expiration::NumberOfTriggers { triggers } => self.trigger_count >= triggers as u64,
|
||||
Expiration::Time { time } => time > Utc::now(),
|
||||
Expiration::Time { time } => time < Utc::now(),
|
||||
Expiration::Never => false,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user