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

Lint

parent 1cde4cf3
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,11 @@ def filter_events_for_client( ...@@ -121,7 +121,11 @@ def filter_events_for_client(
if event.type == "org.matrix.dummy_event" and filter_send_to_client: if event.type == "org.matrix.dummy_event" and filter_send_to_client:
return None return None
if not event.is_state() and event.sender in ignore_list and filter_send_to_client: if (
not event.is_state()
and event.sender in ignore_list
and filter_send_to_client
):
return None return None
# Until MSC2261 has landed we can't redact malicious alias events, so for # Until MSC2261 has landed we can't redact malicious alias events, so for
......
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