mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-24 03:05:48 +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:
parent
12ce441e67
commit
4a1597f295
@ -415,8 +415,8 @@ class Auth(object):
|
|||||||
else:
|
else:
|
||||||
user_level = 0
|
user_level = 0
|
||||||
|
|
||||||
_, _, redact_level = self.store._get_ops_level_from_event_state(
|
_, _, redact_level = self._get_ops_level_from_event_state(
|
||||||
event.room_id
|
event
|
||||||
)
|
)
|
||||||
|
|
||||||
if not redact_level:
|
if not redact_level:
|
||||||
|
Loading…
Reference in New Issue
Block a user