From a501f81bbfe38703f86bbe4f5d6101ab135a5413 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 1 Jul 2022 18:02:35 +0200 Subject: [PATCH] Modifying a frozen class! --- .../sdk/internal/crypto/model/OlmInboundGroupSessionWrapper2.kt | 2 ++ 1 file changed, 2 insertions(+) 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 600fcb10033..2e49ed23755 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 @@ -112,6 +112,8 @@ internal class OlmInboundGroupSessionWrapper2 : Serializable { * @return the inbound group session as MegolmSessionData if the operation succeeds */ fun exportKeys(index: Long? = null): MegolmSessionData? { + Timber.d("Modifying a frozen class!") + return try { if (null == forwardingCurve25519KeyChain) { forwardingCurve25519KeyChain = ArrayList()