diff options
author | Erik Johnston <erik@matrix.org> | 2016-10-18 10:57:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-10-18 10:57:33 +0100 |
commit | 8ca05b57550d8d480a1b8cc5a25a6fffb9b09aa9 (patch) | |
tree | 86f50a1960352e2b46c4ea645ab5f56f7a5ce0eb | |
parent | Reduce redundant database work in email pusher (diff) | |
download | synapse-8ca05b57550d8d480a1b8cc5a25a6fffb9b09aa9.tar.xz |
Fix push notifications for a single unread message
-rw-r--r-- | synapse/push/mailer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py index 3b63c19eca..53551632b6 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py @@ -372,7 +372,7 @@ class Mailer(object): state_event_id = room_state_ids[room_id][ ("m.room.member", event.sender) ] - state_event = yield self.get_event(state_event_id) + state_event = yield self.store.get_event(state_event_id) sender_name = name_from_member_event(state_event) if sender_name is not None and room_name is not None: |