summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
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: