diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 4fdc779b4b5f6d17cde592087c16375301d6ef7a..b9c3e6d2c4ea74f0ebb592d56e48a24e0acd2d28 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