Skip to content

Commit 2afae03

Browse files
author
github-actions
committed
Bump SDK version to 0.2.61 (matrix-rust-sdk to b8a61cfc17bba3d327913cb225ed38e263b2b13f)
1 parent 96a4a6b commit 2afae03

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 0
33
const val minorVersion = 2
4-
const val patchVersion = 60
4+
const val patchVersion = 61
55
}

sdk/sdk-android/src/main/kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt

+21-5
Original file line numberDiff line numberDiff line change
@@ -4122,7 +4122,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
41224122
if (lib.uniffi_matrix_sdk_ffi_checksum_func_get_element_call_required_permissions() != 30181.toShort()) {
41234123
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
41244124
}
4125-
if (lib.uniffi_matrix_sdk_ffi_checksum_func_is_room_alias_format_valid() != 23063.toShort()) {
4125+
if (lib.uniffi_matrix_sdk_ffi_checksum_func_is_room_alias_format_valid() != 54845.toShort()) {
41264126
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
41274127
}
41284128
if (lib.uniffi_matrix_sdk_ffi_checksum_func_log_event() != 62286.toShort()) {
@@ -4281,7 +4281,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
42814281
if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_ignored_users() != 49620.toShort()) {
42824282
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
42834283
}
4284-
if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_is_room_alias_available() != 25471.toShort()) {
4284+
if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_is_room_alias_available() != 23322.toShort()) {
42854285
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
42864286
}
42874287
if (lib.uniffi_matrix_sdk_ffi_checksum_method_client_join_room_by_id() != 64032.toShort()) {
@@ -5988,7 +5988,13 @@ public interface ClientInterface {
59885988
suspend fun `ignoredUsers`(): List<kotlin.String>
59895989

59905990
/**
5991-
* Checks if a room alias is available in the current homeserver.
5991+
* Checks if a room alias is not in use yet.
5992+
*
5993+
* Returns:
5994+
* - `Ok(true)` if the room alias is available.
5995+
* - `Ok(false)` if it's not (the resolve alias request returned a `404`
5996+
* status code).
5997+
* - An `Err` otherwise.
59925998
*/
59935999
suspend fun `isRoomAliasAvailable`(`alias`: kotlin.String): kotlin.Boolean
59946000

@@ -6917,7 +6923,13 @@ open class Client: Disposable, AutoCloseable, ClientInterface {
69176923

69186924

69196925
/**
6920-
* Checks if a room alias is available in the current homeserver.
6926+
* Checks if a room alias is not in use yet.
6927+
*
6928+
* Returns:
6929+
* - `Ok(true)` if the room alias is available.
6930+
* - `Ok(false)` if it's not (the resolve alias request returned a `404`
6931+
* status code).
6932+
* - An `Err` otherwise.
69216933
*/
69226934
@Throws(ClientException::class)
69236935
@Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")
@@ -38495,7 +38507,11 @@ public object FfiConverterMapStringSequenceString: FfiConverterRustBuffer<Map<ko
3849538507

3849638508

3849738509
/**
38498-
* Verifies the passed `String` matches the expected room alias format.
38510+
* Verifies the passed `String` matches the expected room alias format:
38511+
*
38512+
* This means it's lowercase, with no whitespace chars, has a single leading
38513+
* `#` char and a single `:` separator between the local and domain parts, and
38514+
* the local part only contains characters that can't be percent encoded.
3849938515
*/ fun `isRoomAliasFormatValid`(`alias`: kotlin.String): kotlin.Boolean {
3850038516
return FfiConverterBoolean.lift(
3850138517
uniffiRustCall() { _status ->

0 commit comments

Comments
 (0)