Skip to content
Snippets Groups Projects
Commit acb58bfb authored by Erik Johnston's avatar Erik Johnston
Browse files

fix up

parent f7181615
Branches
Tags
No related merge requests found
...@@ -91,7 +91,8 @@ class BulkPushRuleEvaluator: ...@@ -91,7 +91,8 @@ class BulkPushRuleEvaluator:
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:
if not display_name:
# Handle the case where we are pushing a membership event to # Handle the case where we are pushing a membership event to
# that user, as they might not be already joined. # that user, as they might not be already joined.
if event.type == EventTypes.Member and event.state_key == uid: if event.type == EventTypes.Member and event.state_key == uid:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment