summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/api/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 93a3533304..c684265101 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -415,8 +415,8 @@ class Auth(object):
         else:
             user_level = 0
 
-        _, _, redact_level = self.store._get_ops_level_from_event_state(
-            event.room_id
+        _, _, redact_level = self._get_ops_level_from_event_state(
+            event
         )
 
         if not redact_level: