mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-10 12:02:43 +01:00
Also don't fail on aliases events in this case
This commit is contained in:
parent
e38c44b418
commit
37a9873f63
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue