mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix push notifications for a single unread message
This commit is contained in:
parent
f0ca088280
commit
8ca05b5755
@ -372,7 +372,7 @@ class Mailer(object):
|
|||||||
state_event_id = room_state_ids[room_id][
|
state_event_id = room_state_ids[room_id][
|
||||||
("m.room.member", event.sender)
|
("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)
|
sender_name = name_from_member_event(state_event)
|
||||||
|
|
||||||
if sender_name is not None and room_name is not None:
|
if sender_name is not None and room_name is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user