diff options
author | Erik Johnston <erik@matrix.org> | 2021-09-17 17:30:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-09-17 17:30:32 +0100 |
commit | 0ce9315f9ffbb3dddf88508f56857748cfe7a3c6 (patch) | |
tree | 400a2a2ffa166d19890a45af01ff6d5deae3147d | |
parent | Don't create temporary function (diff) | |
download | synapse-0ce9315f9ffbb3dddf88508f56857748cfe7a3c6.tar.xz |
Fix tests
-rw-r--r-- | synapse/push/emailpusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py index e08e125cb8..cf5abdfbda 100644 --- a/synapse/push/emailpusher.py +++ b/synapse/push/emailpusher.py @@ -184,7 +184,7 @@ class EmailPusher(Pusher): should_notify_at = max(notif_ready_at, room_ready_at) - if should_notify_at < self.clock.time_msec(): + if should_notify_at <= self.clock.time_msec(): # one of our notifications is ready for sending, so we send # *one* email updating the user on their notifications, # we then consider all previously outstanding notifications |