Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Also don't fail on aliases events in this case
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Mar 11, 2020
1 parent e38c44b commit 37a9873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/visibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def allowed(event):
# now we temporarily filter out m.room.aliases entirely to mitigate
# abuse, while we spec a better solution to advertising aliases
# on rooms.
if event.type == EventTypes.Aliases:
if event.type == EventTypes.Aliases and filter_send_to_client:
return None

# Don't try to apply the room's retention policy if the event is a state event, as
Expand Down

0 comments on commit 37a9873

Please sign in to comment.