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