We do not display shield in the room list anymore

Room member are lazy loaded, so the shield may not be accurate anymore.
This commit is contained in:
Benoit Marty 2021-03-15 16:09:08 +01:00
parent 75ad6a640b
commit 4302d50af9
1 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,8 @@ class RoomSummaryItemFactory @Inject constructor(private val displayableEventFor
return RoomSummaryItem_()
.id(roomSummary.roomId)
.avatarRenderer(avatarRenderer)
.encryptionTrustLevel(roomSummary.roomEncryptionTrustLevel)
// We do not display shield in the room list anymore
// .encryptionTrustLevel(roomSummary.roomEncryptionTrustLevel)
.matrixItem(roomSummary.toMatrixItem())
.lastEventTime(latestEventTime)
.typingMessage(typingMessage)