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

Hide extremities dummy events from clients

parent 13892776
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,9 @@ def filter_events_for_client( ...@@ -119,6 +119,9 @@ def filter_events_for_client(
the original event if they can see it as normal. the original event if they can see it as normal.
""" """
if event.type == "org.matrix.dummy_event":
return None
if not event.is_state() and event.sender in ignore_list: if not event.is_state() and event.sender in ignore_list:
return None return None
......
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