From fea54952d3bca1bc4c9e291f7e81d86969b63ff1 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 22 Oct 2019 12:26:56 +0200 Subject: [PATCH] Code quality --- .../crypto/actions/EnsureOlmSessionsForUsersAction.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/actions/EnsureOlmSessionsForUsersAction.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/actions/EnsureOlmSessionsForUsersAction.kt index 3fd833dfb4..0c649cce89 100644 --- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/actions/EnsureOlmSessionsForUsersAction.kt +++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/actions/EnsureOlmSessionsForUsersAction.kt @@ -38,9 +38,9 @@ internal class EnsureOlmSessionsForUsersAction @Inject constructor(private val o devices.filter { // Don't bother setting up session to ourself - it.identityKey() != olmDevice.deviceCurve25519Key && + it.identityKey() != olmDevice.deviceCurve25519Key // Don't bother setting up sessions with blocked users - !it.isVerified + && !it.isVerified } } return ensureOlmSessionsForDevicesAction.handle(devicesByUser)