forked from MirrorHub/synapse
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
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ class Auth(object):
|
||||||
|
|
||||||
redact_level = self._get_named_level(auth_events, "redact", 50)
|
redact_level = self._get_named_level(auth_events, "redact", 50)
|
||||||
|
|
||||||
if user_level > redact_level:
|
if user_level >= redact_level:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
redacter_domain = EventID.from_string(event.event_id).domain
|
redacter_domain = EventID.from_string(event.event_id).domain
|
||||||
|
|
Loading…
Reference in a new issue