Merge pull request #397 from matrix-org/erikj/redaction_inequality
Allow user to redact with an equal power
This commit is contained in:
commit
6cd595e438
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue