From 59b2cfa52c52f770b188e6bf4bdfcf9e31052c04 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 30 Nov 2021 18:00:26 +0100 Subject: [PATCH] Removed useless code --- .../java/org/matrix/android/sdk/internal/crypto/OlmMachine.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 2d09d000a9..16ca58a8fa 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 @@ -574,9 +574,7 @@ internal class OlmMachine( val selfSigningKey = adapter.fromJson(identity.selfSigningKey)!!.toCryptoModel().apply { trustLevel = DeviceTrustLevel(verified, verified) } - val userSigningKey = adapter.fromJson(identity.userSigningKey)!!.toCryptoModel().apply { - trustLevel = DeviceTrustLevel(verified, verified) - } + val userSigningKey = adapter.fromJson(identity.userSigningKey)!!.toCryptoModel() OwnUserIdentity( identity.userId,