Merge pull request #397 from matrix-org/erikj/redaction_inequality

Allow user to redact with an equal power
pull/399/head
Erik Johnston 2015-11-26 13:23:09 +00:00
commit 6cd595e438
1 changed files with 1 additions and 1 deletions

View File

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