Merge pull request #1057 from matrix-org/erikj/fix_email_name

Fix email notifs by adding missing param
pull/1061/head
Erik Johnston 2016-08-31 14:33:45 +01:00 committed by GitHub
commit fbd2615de4
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class Mailer(object):
# want the generated-from-names one here otherwise we'll # want the generated-from-names one here otherwise we'll
# end up with, "new message from Bob in the Bob room" # end up with, "new message from Bob in the Bob room"
room_name = yield calculate_room_name( 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)] my_member_event = state_by_room[room_id][("m.room.member", user_id)]