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()