This commit is contained in:
Benoit Marty 2020-02-01 13:59:28 +01:00
parent 53e36dca9c
commit 10094a212c
2 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,8 @@ class RxSession(private val session: Session) {
summaries.map { summaries.map {
if (it.isEncrypted) { if (it.isEncrypted) {
it.copy( it.copy(
roomEncryptionTrustLevel = session.getCrossSigningService().getTrustLevelForUsers(it.otherMemberIds + listOf(session.myUserId)) roomEncryptionTrustLevel = session.getCrossSigningService()
.getTrustLevelForUsers(it.otherMemberIds + session.myUserId)
) )
} else { } else {
it it

View File

@ -61,7 +61,7 @@ class RoomProfileController @Inject constructor(
centered(false) centered(false)
text(stringProvider.getString(learnMoreSubtitle)) text(stringProvider.getString(learnMoreSubtitle))
} }
// More // More
buildProfileSection(stringProvider.getString(R.string.room_profile_section_more)) buildProfileSection(stringProvider.getString(R.string.room_profile_section_more))
buildProfileAction( buildProfileAction(