summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-06 11:46:02 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-08 17:24:50 +0100
commitf06bd7fd00069c3c0424c1adefb06dddbff5696b (patch)
tree112ac20c1157ad8ad7589d05d84e002e39c66368 /synapse/handlers
parentRemove accidental return statement (diff)
downloadsynapse-github/anoa/bla.tar.xz
wip access rules modification github/anoa/bla anoa/bla
Diffstat (limited to '')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 5891939bb1..f5f246138f 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -1116,7 +1116,7 @@ class EventCreationHandler:
             room_version_obj = KNOWN_ROOM_VERSIONS[room_version]
 
             if event_auth.check_redaction(
-                room_version_obj, event, auth_events=auth_events
+                room_version_obj, event, auth_events=auth_events, original_event=original_event
             ):
                 # this user doesn't have 'redact' rights, so we need to do some more
                 # checks on the original event. Let's start by checking the original