mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-31 19:44:29 +00:00
Fix bug in redaction auth.
This caused a 500 when sending a redaction due to a typo in a method invocation.
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user