Просмотр исходного кода

Tweak comment on `_is_local_room_accessible` as part of room visibility in `/hierarchy` to clarify the condition for a room being visible. (#14834)

tags/v1.78.0rc1
reivilibre 1 год назад
committed by GitHub
Родитель
Сommit
3d7aead5d6
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
2 измененных файлов: 3 добавлений и 2 удалений
  1. +1
    -0
      changelog.d/14834.misc
  2. +2
    -2
      synapse/handlers/room_summary.py

+ 1
- 0
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.

+ 2
- 2
synapse/handlers/room_summary.py Просмотреть файл

@@ -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:


Загрузка…
Отмена
Сохранить