0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-09 14:18:54 +02:00
This commit is contained in:
Erik Johnston 2017-04-25 15:39:19 +01:00
parent f7181615f2
commit acb58bfb6a

View file

@ -91,7 +91,8 @@ class BulkPushRuleEvaluator:
profile_info = room_members.get(uid)
if profile_info:
display_name = profile_info.display_name
else:
if not display_name:
# Handle the case where we are pushing a membership event to
# that user, as they might not be already joined.
if event.type == EventTypes.Member and event.state_key == uid: