Skip to content
Snippets Groups Projects
Unverified Commit 37a9873f authored by Brendan Abolivier's avatar Brendan Abolivier
Browse files

Also don't fail on aliases events in this case

parent e38c44b4
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ def filter_events_for_client(
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment