diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-31 09:48:59 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-31 09:48:59 +0000 |
commit | 4a1597f295cfd5ae3879d78bcaa420e0e5ace3b4 (patch) | |
tree | 0dc85db34b3e927113a700c8b70827749efe1049 /synapse/api/auth.py | |
parent | Convert event ids to be of the form :example.com (diff) | |
download | synapse-4a1597f295cfd5ae3879d78bcaa420e0e5ace3b4.tar.xz |
Fix bug in redaction auth.
This caused a 500 when sending a redaction due to a typo in a method invocation.
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r-- | synapse/api/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 93a3533304..c684265101 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -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: |