summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-05-24 17:50:50 +0100
committerGitHub <noreply@github.com>2022-05-24 16:50:50 +0000
commit81d9f2a8e9ee2d18f4ed9cc6d39fd9c2e793bc62 (patch)
treee3c6bc5f5384e7222bfe5414115d8817ace3ce17 /synapse/handlers
parentRemove `dont_notify` from the `.m.rule.room.server_acl` rule (#12849) (diff)
downloadsynapse-81d9f2a8e9ee2d18f4ed9cc6d39fd9c2e793bc62.tar.xz
Fixes to MSC3787 implementation (#12858)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_summary.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room_summary.py b/synapse/handlers/room_summary.py

index af83de3193..1dd74912fa 100644 --- a/synapse/handlers/room_summary.py +++ b/synapse/handlers/room_summary.py
@@ -662,7 +662,8 @@ class RoomSummaryHandler: # The API doesn't return the room version so assume that a # join rule of knock is valid. if ( - room.get("join_rules") in (JoinRules.PUBLIC, JoinRules.KNOCK) + room.get("join_rules") + in (JoinRules.PUBLIC, JoinRules.KNOCK, JoinRules.KNOCK_RESTRICTED) or room.get("world_readable") is True ): return True