mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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:
parent
12ce441e67
commit
4a1597f295
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user