missing transiant field in copyAll

This commit is contained in:
valere 2023-02-03 13:42:23 +01:00
parent 76f856b2ea
commit 32aaf57ecf
1 changed files with 3 additions and 1 deletions

View File

@ -142,6 +142,7 @@ data class Event(
unsignedData: UnsignedData? = this.unsignedData, unsignedData: UnsignedData? = this.unsignedData,
redacts: String? = this.redacts, redacts: String? = this.redacts,
mxDecryptionResult: OlmDecryptionResult? = this.mxDecryptionResult, mxDecryptionResult: OlmDecryptionResult? = this.mxDecryptionResult,
verificationStateIsDirty: Boolean? = this.verificationStateIsDirty,
mCryptoError: MXCryptoError.ErrorType? = this.mCryptoError, mCryptoError: MXCryptoError.ErrorType? = this.mCryptoError,
mCryptoErrorReason: String? = this.mCryptoErrorReason, mCryptoErrorReason: String? = this.mCryptoErrorReason,
sendState: SendState = this.sendState, sendState: SendState = this.sendState,
@ -158,7 +159,7 @@ data class Event(
stateKey = stateKey, stateKey = stateKey,
roomId = roomId, roomId = roomId,
unsignedData = unsignedData, unsignedData = unsignedData,
redacts = redacts redacts = redacts,
).also { ).also {
it.mxDecryptionResult = mxDecryptionResult it.mxDecryptionResult = mxDecryptionResult
it.mCryptoError = mCryptoError it.mCryptoError = mCryptoError
@ -166,6 +167,7 @@ data class Event(
it.sendState = sendState it.sendState = sendState
it.ageLocalTs = ageLocalTs it.ageLocalTs = ageLocalTs
it.threadDetails = threadDetails it.threadDetails = threadDetails
it.verificationStateIsDirty = verificationStateIsDirty
} }
} }