mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-26 10:15:59 -05:00
Also don't filter out events sent by ignored users when checking state visibility
This commit is contained in:
parent
9c0775e86a
commit
2dce68c651
@ -121,7 +121,7 @@ def filter_events_for_client(
|
||||
if event.type == "org.matrix.dummy_event" and filter_send_to_client:
|
||||
return None
|
||||
|
||||
if not event.is_state() and event.sender in ignore_list:
|
||||
if not event.is_state() and event.sender in ignore_list and filter_send_to_client:
|
||||
return None
|
||||
|
||||
# Until MSC2261 has landed we can't redact malicious alias events, so for
|
||||
|
Loading…
x
Reference in New Issue
Block a user