mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue