mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
Fix push notifications for a single unread message
This commit is contained in:
parent
f0ca088280
commit
8ca05b5755
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue