mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 17:46:08 +03:00
Tweak comment on _is_local_room_accessible
as part of room visibility in /hierarchy
to clarify the condition for a room being visible. (#14834)
This commit is contained in:
parent
bac123c9d3
commit
3d7aead5d6
2 changed files with 3 additions and 2 deletions
1
changelog.d/14834.misc
Normal file
1
changelog.d/14834.misc
Normal file
|
@ -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.
|
|
@ -521,8 +521,8 @@ class RoomSummaryHandler:
|
|||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue