From 2afae03037fe564d56aa478bc56f24a9b05543d2 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 8 Nov 2024 13:49:10 +0000 Subject: [PATCH] Bump SDK version to 0.2.61 (matrix-rust-sdk to b8a61cfc17bba3d327913cb225ed38e263b2b13f) --- buildSrc/src/main/kotlin/BuildVersionsSDK.kt | 2 +- .../rustcomponents/sdk/matrix_sdk_ffi.kt | 26 +++++++++++++++---- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/buildSrc/src/main/kotlin/BuildVersionsSDK.kt b/buildSrc/src/main/kotlin/BuildVersionsSDK.kt index 78de7e9..b0f66e0 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 = 60 + const val patchVersion = 61 } diff --git a/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt b/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt index e463124..dae3bc5 100644 --- a/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt +++ b/sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt @@ -4122,7 +4122,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) { if (lib.uniffi_matrix_sdk_ffi_checksum_func_get_element_call_required_permissions() != 30181.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_matrix_sdk_ffi_checksum_func_is_room_alias_format_valid() != 23063.toShort()) { + if (lib.uniffi_matrix_sdk_ffi_checksum_func_is_room_alias_format_valid() != 54845.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_matrix_sdk_ffi_checksum_func_log_event() != 62286.toShort()) { @@ -4281,7 +4281,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) { if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_ignored_users() != 49620.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_is_room_alias_available() != 25471.toShort()) { + if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_is_room_alias_available() != 23322.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_join_room_by_id() != 64032.toShort()) { @@ -5988,7 +5988,13 @@ public interface ClientInterface { suspend fun `ignoredUsers`(): List /** - * Checks if a room alias is available in the current homeserver. + * Checks if a room alias is not in use yet. + * + * Returns: + * - `Ok(true)` if the room alias is available. + * - `Ok(false)` if it's not (the resolve alias request returned a `404` + * status code). + * - An `Err` otherwise. */ suspend fun `isRoomAliasAvailable`(`alias`: kotlin.String): kotlin.Boolean @@ -6917,7 +6923,13 @@ open class Client: Disposable, AutoCloseable, ClientInterface { /** - * Checks if a room alias is available in the current homeserver. + * Checks if a room alias is not in use yet. + * + * Returns: + * - `Ok(true)` if the room alias is available. + * - `Ok(false)` if it's not (the resolve alias request returned a `404` + * status code). + * - An `Err` otherwise. */ @Throws(ClientException::class) @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE") @@ -38495,7 +38507,11 @@ public object FfiConverterMapStringSequenceString: FfiConverterRustBuffer