From 1db120a963e5b943dc85e25e63e45b7ef62b4624 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 30 Oct 2020 18:08:11 +0100 Subject: [PATCH] cleanup --- .../sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt index 8b00ed90d5..1dc27c75ca 100755 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt @@ -49,7 +49,7 @@ class OlmInboundGroupSessionWrapper2 : Serializable { val firstKnownIndex: Long? get() { return try { - return olmInboundGroupSession?.firstKnownIndex + olmInboundGroupSession?.firstKnownIndex } catch (e: Exception) { Timber.e(e, "## getFirstKnownIndex() : getFirstKnownIndex failed") null