diff --git a/synapse/handlers/room_policy.py b/synapse/handlers/room_policy.py index 0663a36714..31ac3b7818 100644 --- a/synapse/handlers/room_policy.py +++ b/synapse/handlers/room_policy.py @@ -62,6 +62,7 @@ class RoomPolicyHandler: Returns: bool: True if the event is allowed in the room, False otherwise. """ + return True if event.type == POLICY_SERVER_EVENT_TYPE and event.state_key is not None: return True # always allow policy server change events