summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-04 17:28:13 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-03-04 17:28:13 +0000
commit31a2116331fea015fe162f298eca19d9a5a58ecb (patch)
treeca6d8233e98c82a7058e6c6aa9c83a263434e800 /synapse
parentAllow deleting an alias if the user has sufficient power level (#6986) (diff)
downloadsynapse-31a2116331fea015fe162f298eca19d9a5a58ecb.tar.xz
Hide extremities dummy events from clients
Diffstat (limited to 'synapse')
-rw-r--r--synapse/visibility.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py
index e60d9756b7..a48a4f3dfe 100644
--- a/synapse/visibility.py
+++ b/synapse/visibility.py
@@ -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