Fix push notifications for a single unread message

This commit is contained in:
Erik Johnston 2016-10-18 10:57:33 +01:00
parent f0ca088280
commit 8ca05b5755
1 changed files with 1 additions and 1 deletions

View File

@ -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: