mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 04:20:06 +00:00
Don't specify default as dict
This commit is contained in:
parent
f144365281
commit
f7181615f2
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue