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

Commit

Permalink
Tweak comment on _is_local_room_accessible as part of room visibili…
Browse files Browse the repository at this point in the history
…ty in `/hierarchy` to clarify the condition for a room being visible. (#14834)
  • Loading branch information
reivilibre authored Feb 13, 2023
1 parent bac123c commit 3d7aead
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/14834.misc
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions synapse/handlers/room_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3d7aead

Please sign in to comment.