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:
Erik Johnston 2014-10-31 09:48:59 +00:00
parent 12ce441e67
commit 4a1597f295

View File

@ -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: