From 3982047545af110312a9836eb4bcf2dd113de72a Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 3 Dec 2024 09:22:44 +0000 Subject: [PATCH] Bump SDK version to 0.2.68 (matrix-rust-sdk to e76b8f7e1591205e29165dd93dde9b77798bc971) --- buildSrc/src/main/kotlin/BuildVersionsSDK.kt | 2 +- .../uniffi/matrix_sdk_crypto/matrix_sdk_crypto.kt | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/BuildVersionsSDK.kt b/buildSrc/src/main/kotlin/BuildVersionsSDK.kt index 958f267..c77488b 100644 --- a/buildSrc/src/main/kotlin/BuildVersionsSDK.kt +++ b/buildSrc/src/main/kotlin/BuildVersionsSDK.kt @@ -1,5 +1,5 @@ object BuildVersionsSDK { const val majorVersion = 0 const val minorVersion = 2 - const val patchVersion = 67 + const val patchVersion = 68 } diff --git a/sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_crypto/matrix_sdk_crypto.kt b/sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_crypto/matrix_sdk_crypto.kt index 5e7349c..dd1c63b 100644 --- a/sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_crypto/matrix_sdk_crypto.kt +++ b/sdk/sdk-android/src/main/kotlin/uniffi/matrix_sdk_crypto/matrix_sdk_crypto.kt @@ -1410,7 +1410,18 @@ enum class UtdCause { * data was obtained from an insecure source (imported from a file, * obtained from a legacy (asymmetric) backup, unsafe key forward, etc.) */ - UNKNOWN_DEVICE; + UNKNOWN_DEVICE, + /** + * We are missing the keys for this event, but it is a "device-historical" + * message and no backup is accessible or usable. + * + * Device-historical means that the message was sent before the current + * device existed (but the current user was probably a member of the room + * at the time the message was sent). Not to + * be confused with pre-join or pre-invite messages (see + * [`UtdCause::SentBeforeWeJoined`] for that). + */ + HISTORICAL_MESSAGE; companion object }