summary refs log tree commit diff
path: root/synapse/event_auth.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 21:24:34 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 21:24:34 +0000
commit47e2dd1994c27f7d91b092954fcd9ed79ca9f822 (patch)
tree3a54095110ffa49b577fa94e86759b7fa539bedf /synapse/event_auth.py
parentAdd docstring (diff)
downloadsynapse-47e2dd1994c27f7d91b092954fcd9ed79ca9f822.tar.xz
Drop vdh support
Diffstat (limited to 'synapse/event_auth.py')
-rw-r--r--synapse/event_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py
index a95d142f0c..df30c2cea7 100644
--- a/synapse/event_auth.py
+++ b/synapse/event_auth.py
@@ -448,7 +448,7 @@ def check_redaction(room_version, event, auth_events):
     if user_level >= redact_level:
         return False
 
-    if room_version in (RoomVersions.V1, RoomVersions.V2, RoomVersions.VDH_TEST):
+    if room_version in (RoomVersions.V1, RoomVersions.V2,):
         redacter_domain = get_domain_from_id(event.event_id)
         redactee_domain = get_domain_from_id(event.redacts)
         if redacter_domain == redactee_domain: