mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-12 09:59:28 -05:00
Don't specify default as dict
This commit is contained in:
parent
f144365281
commit
f7181615f2
@ -88,7 +88,7 @@ class BulkPushRuleEvaluator:
|
|||||||
|
|
||||||
for uid, rules in self.rules_by_user.items():
|
for uid, rules in self.rules_by_user.items():
|
||||||
display_name = None
|
display_name = None
|
||||||
profile_info = room_members.get(uid, {})
|
profile_info = room_members.get(uid)
|
||||||
if profile_info:
|
if profile_info:
|
||||||
display_name = profile_info.display_name
|
display_name = profile_info.display_name
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user