summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-09 14:53:50 +0000
committerGitHub <noreply@github.com>2020-03-09 14:53:50 +0000
commit14b2ebe76738e7d13ad233c0b9c769d9a7b6cdbf (patch)
treef9eb28b1037f44e40bcd854b3bf6f2d38f493087 /synapse/push
parentRemove special auth and redaction rules for aliases events in experimental ro... (diff)
parentChangelog (diff)
downloadsynapse-14b2ebe76738e7d13ad233c0b9c769d9a7b6cdbf.tar.xz
Merge pull request #7055 from matrix-org/babolivier/get_time_of_last_push_action_before
Move get_time_of_last_push_action_before to the EventPushActionsWorkerStore
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/mailer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py

index 4ccaf178ce..73580c1c6c 100644 --- a/synapse/push/mailer.py +++ b/synapse/push/mailer.py
@@ -555,10 +555,12 @@ class Mailer(object): else: # If the reason room doesn't have a name, say who the messages # are from explicitly to avoid, "messages in the Bob room" + room_id = reason["room_id"] + sender_ids = list( { notif_events[n["event_id"]].sender - for n in notifs_by_room[reason["room_id"]] + for n in notifs_by_room[room_id] } )