feat(security&privacy) : improve and document code after PR review.

This commit is contained in:
ganfra 2025-01-29 14:16:57 +01:00
parent 82f59265e6
commit 8880eeda40
7 changed files with 32 additions and 30 deletions

View file

@ -428,9 +428,7 @@ interface MatrixRoom : Closeable {
/**
* Returns the visibility for this room in the room directory.
*
* [Public](`RoomVisibility::Public`) rooms are listed in the room
* directory and can be found using it.
* If the room is not published, the result will be [RoomVisibility.Private].
*/
suspend fun getRoomVisibility(): Result<RoomVisibility>