summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/third_party_rules/access_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/third_party_rules/access_rules.py b/synapse/third_party_rules/access_rules.py

index 7b1f509bbb..aa74c531a4 100644 --- a/synapse/third_party_rules/access_rules.py +++ b/synapse/third_party_rules/access_rules.py
@@ -504,7 +504,7 @@ class RoomAccessRules(object): ) # type: EventBase # If the room is publicly joinable, revert that upon freezing the room. - if frozen is True and( + if frozen is True and ( current_join_rules is None or current_join_rules.content["join_rule"] == "public" ):