Hide or disable search in the encrypted rooms

This commit is contained in:
yostyle
2022-05-02 22:30:39 +02:00
parent 5224a56ec7
commit 5a4798be8e
4 changed files with 9 additions and 1 deletions
@@ -48,6 +48,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)
}