Hide extremities dummy events from clients

This commit is contained in:
Brendan Abolivier 2020-03-04 17:28:13 +00:00
parent 13892776ef
commit 31a2116331
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -119,6 +119,9 @@ def filter_events_for_client(
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:
return None