From 6a9c454d38dde811cea2d236aef374cab4e06460 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 13 Jan 2023 11:14:17 +0000 Subject: [PATCH 1/3] Tweak doc for space room visibility Related: https://github.com/matrix-org/matrix-spec/issues/1402 --- synapse/handlers/room_summary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/handlers/room_summary.py b/synapse/handlers/room_summary.py index c6b869c6f44e..c4254de8c563 100644 --- a/synapse/handlers/room_summary.py +++ b/synapse/handlers/room_summary.py @@ -521,8 +521,8 @@ async def _is_local_room_accessible( It should return true if: - * The requester is joined or can join the room (per MSC3173). - * The origin server has any user that is joined or can join the room. + * The requesting user is joined or can join the room (per MSC3173); or + * The origin server has any user that is joined or can join the room; or * The history visibility is set to world readable. Args: From 0d5426a419047ebb5d9ebc16246e0f174b95846f Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Fri, 13 Jan 2023 11:15:11 +0000 Subject: [PATCH 2/3] Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) --- changelog.d/14834.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/14834.misc diff --git a/changelog.d/14834.misc b/changelog.d/14834.misc new file mode 100644 index 000000000000..e683212dc463 --- /dev/null +++ b/changelog.d/14834.misc @@ -0,0 +1 @@ +Tweak comment on `_is_local_room_accessible` as part of room visibility in `/hierarchy` to clarify the condition for a room being visible. \ No newline at end of file From d943a5165fdd162e6e0d200a7deb625de57cef12 Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 13 Feb 2023 15:56:16 +0000 Subject: [PATCH 3/3] CI kick :/