summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-30 21:46:39 +0100
committerErik Johnston <erik@matrix.org>2016-08-30 21:46:39 +0100
commitd80f64d370e2b7e7d56ef32bfa54c66fa1b1482a (patch)
tree816387a23c013bff64b3c14125a4448c52d809b3
parentMerge pull request #1056 from matrix-org/kegan/appservice-url-is-optional (diff)
downloadsynapse-d80f64d370e2b7e7d56ef32bfa54c66fa1b1482a.tar.xz
Fix email notifs by adding missing param
Diffstat (limited to '')
-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 81b1af4a19..2cafcfd8f5 100644
--- a/synapse/push/mailer.py
+++ b/synapse/push/mailer.py
@@ -338,7 +338,7 @@ class Mailer(object):
             # want the generated-from-names one here otherwise we'll
             # end up with, "new message from Bob in the Bob room"
             room_name = yield calculate_room_name(
-                state_by_room[room_id], user_id, fallback_to_members=False
+                self.store, state_by_room[room_id], user_id, fallback_to_members=False
             )
 
             my_member_event = state_by_room[room_id][("m.room.member", user_id)]