Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3d7aead

Browse files
authored
Tweak comment on _is_local_room_accessible as part of room visibility in /hierarchy to clarify the condition for a room being visible. (#14834)
1 parent bac123c commit 3d7aead

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/14834.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Tweak comment on `_is_local_room_accessible` as part of room visibility in `/hierarchy` to clarify the condition for a room being visible.

synapse/handlers/room_summary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,8 +521,8 @@ async def _is_local_room_accessible(
521521
522522
It should return true if:
523523
524-
* The requester is joined or can join the room (per MSC3173).
525-
* The origin server has any user that is joined or can join the room.
524+
* The requesting user is joined or can join the room (per MSC3173); or
525+
* The origin server has any user that is joined or can join the room; or
526526
* The history visibility is set to world readable.
527527
528528
Args:

0 commit comments

Comments
 (0)