From 01b40ad03ae9de6b575a9beb4b34fecb7e897248 Mon Sep 17 00:00:00 2001 From: timedout Date: Fri, 13 Feb 2026 13:36:13 +0000 Subject: [PATCH] fix: Disable policy server checks Signed-off-by: timedout --- synapse/handlers/room_policy.py | 1 + 1 file changed, 1 insertion(+) 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