Merge pull request #6098 from vector-im/yostyle/disable_search_encrypted_rooms

Hide or disable search in the encrypted rooms
This commit is contained in:
Yoan Pintas
2022-05-16 23:24:06 +02:00
committed by GitHub
4 changed files with 9 additions and 1 deletions
@@ -49,6 +49,8 @@ final class RoomInfoListViewModel: NSObject, RoomInfoListViewModelType {
directUserPresence: directUserPresence)
return RoomInfoListViewData(numberOfMembers: Int(room.summary.membersCount.joined),
isEncrypted: room.summary.isEncrypted,
isDirect: room.isDirect,
basicInfoViewData: basicInfoViewData)
}