mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 18:15:01 -04:00
Hide extremities dummy events from clients
This commit is contained in:
parent
13892776ef
commit
31a2116331
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue