diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-25 15:22:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-25 15:22:59 +0100 |
commit | f7181615f2264edcfd5aa135df127d88a2b16a1f (patch) | |
tree | 8339d0a091db64a21706103aaf3585671f6856ac | |
parent | Comment (diff) | |
download | synapse-f7181615f2264edcfd5aa135df127d88a2b16a1f.tar.xz |
Don't specify default as dict
-rw-r--r-- | synapse/push/bulk_push_rule_evaluator.py | 2 |
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: |