Fix push notifications for a single unread message

pull/4/merge
Erik Johnston 8 years ago
parent f0ca088280
commit 8ca05b5755
  1. 2
      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:

Loading…
Cancel
Save