summary refs log tree commit diff
path: root/synapse/push/mailer.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-10-19 11:28:56 +0100
committerDavid Baker <dave@matrix.org>2016-10-19 11:28:56 +0100
commita7f48320b18ecfb7dce23a153fb2ade9de481aaa (patch)
treea1722ba6980bb8066e948013e2bfb2ec2a660f26 /synapse/push/mailer.py
parentConvert emails to lowercase when storing (diff)
parentMerge pull request #1174 from matrix-org/erikj/email_push_noop (diff)
downloadsynapse-a7f48320b18ecfb7dce23a153fb2ade9de481aaa.tar.xz
Merge remote-tracking branch 'origin/develop' into dbkr/password_reset_case_insensitive
Diffstat (limited to 'synapse/push/mailer.py')
-rw-r--r--synapse/push/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/mailer.py b/synapse/push/mailer.py
index 3b63c19eca..53551632b6 100644
--- a/synapse/push/mailer.py
+++ b/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: