From ac7b47b8b2d37d6f76c4aada806e37ef25ce6b06 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 12 Jul 2022 10:17:41 +0200 Subject: [PATCH] code reviews --- .../DeviceVerificationInfoBottomSheetController.kt | 8 -------- vector/src/main/res/values/strings.xml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/settings/devices/DeviceVerificationInfoBottomSheetController.kt b/vector/src/main/java/im/vector/app/features/settings/devices/DeviceVerificationInfoBottomSheetController.kt index b1084077cb..c91c0f457b 100644 --- a/vector/src/main/java/im/vector/app/features/settings/devices/DeviceVerificationInfoBottomSheetController.kt +++ b/vector/src/main/java/im/vector/app/features/settings/devices/DeviceVerificationInfoBottomSheetController.kt @@ -185,14 +185,6 @@ class DeviceVerificationInfoBottomSheetController @Inject constructor( } } } - } else if (!isMine) { - if (currentSessionIsTrusted) { - // we can propose to verify it - val isVerified = cryptoDeviceInfo.trustLevel?.crossSigningVerified.orFalse() - if (!isVerified) { - addVerifyActions(cryptoDeviceInfo) - } - } } } else /** if (!isMine) **/ diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 062b7b4484..d203b74e52 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -2353,7 +2353,7 @@ Verify this device Unable to verify this device - You won\'t be able to access encrypted message history. Reset your Secure Message Backup and verification keys to start fresh. + You won’t be able to access encrypted message history. Reset your Secure Message Backup and verification keys to start fresh. Use an existing session to verify this one, granting it access to encrypted messages.