summary refs log tree commit diff
path: root/synapse/visibility.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-20 17:42:58 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-20 17:42:58 +0100
commit995136eb38340454d85c72a2c1295ffa3af01892 (patch)
tree57f8eb47677daf8bfb8d56dcfc95eb05ea0635f9 /synapse/visibility.py
parentMerge commit 'c9c1c9d82' into anoa/dinsic_release_1_31_0 (diff)
parentMerge remote-tracking branch 'origin/erikj/as_mau_block' into develop (diff)
downloadsynapse-995136eb38340454d85c72a2c1295ffa3af01892.tar.xz
Merge commit 'a7a913918' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/visibility.py')
-rw-r--r--synapse/visibility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/visibility.py b/synapse/visibility.py

index f2836ba9f0..ec50e7e977 100644 --- a/synapse/visibility.py +++ b/synapse/visibility.py
@@ -125,7 +125,7 @@ async def filter_events_for_client( # see events in the room at that point in the DAG, and that shouldn't be decided # on those checks. if filter_send_to_client: - if event.type == "org.matrix.dummy_event": + if event.type == EventTypes.Dummy: return None if not event.is_state() and event.sender in ignore_list: