summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-04-25 15:22:59 +0100
committerErik Johnston <erik@matrix.org>2017-04-25 15:22:59 +0100
commitf7181615f2264edcfd5aa135df127d88a2b16a1f (patch)
tree8339d0a091db64a21706103aaf3585671f6856ac /synapse/push
parentComment (diff)
downloadsynapse-f7181615f2264edcfd5aa135df127d88a2b16a1f.tar.xz
Don't specify default as dict
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/bulk_push_rule_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/bulk_push_rule_evaluator.py b/synapse/push/bulk_push_rule_evaluator.py
index 503fef4261..e40f62de78 100644
--- a/synapse/push/bulk_push_rule_evaluator.py
+++ b/synapse/push/bulk_push_rule_evaluator.py
@@ -88,7 +88,7 @@ class BulkPushRuleEvaluator:
 
         for uid, rules in self.rules_by_user.items():
             display_name = None
-            profile_info = room_members.get(uid, {})
+            profile_info = room_members.get(uid)
             if profile_info:
                 display_name = profile_info.display_name
             else: