diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-26 13:23:09 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-26 13:23:09 +0000 |
commit | 6cd595e438b59771b67b4293f97f1766741f25f4 (patch) | |
tree | 80bc4855c17a8dfd7d344e9fa56cfd321d6875db /synapse/api/auth.py | |
parent | Fix SQL for postgres again (diff) | |
parent | Allow user to redact with an equal power (diff) | |
download | synapse-6cd595e438b59771b67b4293f97f1766741f25f4.tar.xz |
Merge pull request #397 from matrix-org/erikj/redaction_inequality
Allow user to redact with an equal power
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r-- | synapse/api/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 4fdc779b4b..b9c3e6d2c4 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -860,7 +860,7 @@ class Auth(object): redact_level = self._get_named_level(auth_events, "redact", 50) - if user_level > redact_level: + if user_level >= redact_level: return False redacter_domain = EventID.from_string(event.event_id).domain |