mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-21 16:50:21 +00:00
fix: Disable policy server checks
Signed-off-by: timedout <git@nexy7574.co.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user