From 32aaf57ecfb3e418669eb84c202c5494b332ac7b Mon Sep 17 00:00:00 2001 From: valere Date: Fri, 3 Feb 2023 13:42:23 +0100 Subject: [PATCH] missing transiant field in copyAll --- .../org/matrix/android/sdk/api/session/events/model/Event.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/Event.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/Event.kt index 4dfa8b097d..d5539e9ae8 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/Event.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/Event.kt @@ -142,6 +142,7 @@ data class Event( unsignedData: UnsignedData? = this.unsignedData, redacts: String? = this.redacts, mxDecryptionResult: OlmDecryptionResult? = this.mxDecryptionResult, + verificationStateIsDirty: Boolean? = this.verificationStateIsDirty, mCryptoError: MXCryptoError.ErrorType? = this.mCryptoError, mCryptoErrorReason: String? = this.mCryptoErrorReason, sendState: SendState = this.sendState, @@ -158,7 +159,7 @@ data class Event( stateKey = stateKey, roomId = roomId, unsignedData = unsignedData, - redacts = redacts + redacts = redacts, ).also { it.mxDecryptionResult = mxDecryptionResult it.mCryptoError = mCryptoError @@ -166,6 +167,7 @@ data class Event( it.sendState = sendState it.ageLocalTs = ageLocalTs it.threadDetails = threadDetails + it.verificationStateIsDirty = verificationStateIsDirty } }