mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-11 10:04:22 -05:00
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
Block a user