diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/OlmMachine.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/OlmMachine.kt index 4622960c3f..db501a1f20 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/OlmMachine.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/OlmMachine.kt @@ -112,8 +112,7 @@ private fun toCryptoDeviceInfo(device: Device): CryptoDeviceInfo { // Kotlin side care about signatures? mapOf(), UnsignedDeviceInfo(device.displayName), - // TODO pass trust levels here - DeviceTrustLevel(crossSigningVerified = false, locallyVerified = false), + DeviceTrustLevel(crossSigningVerified = device.verified, locallyVerified = device.locallyVerified), device.isBlocked, // TODO null)