0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 17:23:50 +01:00

Don't specify default as dict

This commit is contained in:
Erik Johnston 2017-04-25 15:22:59 +01:00
parent f144365281
commit f7181615f2

View file

@ -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: