Skip to content

Commit fea6c7c

Browse files
author
github-actions
committed
Bump SDK version to 25.05.6 (matrix-rust-sdk to 284db615406792504551fd708b7cc4d1ddb8e41a)
1 parent 25562b8 commit fea6c7c

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 25
3-
const val minorVersion = 4
4-
const val patchVersion = 30
3+
const val minorVersion = 5
4+
const val patchVersion = 6
55
}

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,6 +2303,8 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(
23032303

23042304

23052305

2306+
2307+
23062308

23072309

23082310

@@ -2695,6 +2697,8 @@ internal interface UniffiLib : Library {
26952697
): Unit
26962698
fun uniffi_matrix_sdk_ffi_fn_method_notificationclient_get_notification(`ptr`: Pointer,`roomId`: RustBuffer.ByValue,`eventId`: RustBuffer.ByValue,
26972699
): Long
2700+
fun uniffi_matrix_sdk_ffi_fn_method_notificationclient_get_room(`ptr`: Pointer,`roomId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
2701+
): RustBuffer.ByValue
26982702
fun uniffi_matrix_sdk_ffi_fn_clone_notificationsettings(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
26992703
): Pointer
27002704
fun uniffi_matrix_sdk_ffi_fn_free_notificationsettings(`ptr`: Pointer,uniffi_out_err: UniffiRustCallStatus,
@@ -3859,6 +3863,8 @@ internal interface UniffiLib : Library {
38593863
): Short
38603864
fun uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification(
38613865
): Short
3866+
fun uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_room(
3867+
): Short
38623868
fun uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_can_homeserver_push_encrypted_event_to_device(
38633869
): Short
38643870
fun uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_can_push_encrypted_event_to_device(
@@ -4951,6 +4957,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
49514957
if (lib.uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_notification() != 2524.toShort()) {
49524958
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
49534959
}
4960+
if (lib.uniffi_matrix_sdk_ffi_checksum_method_notificationclient_get_room() != 26581.toShort()) {
4961+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
4962+
}
49544963
if (lib.uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_can_homeserver_push_encrypted_event_to_device() != 37323.toShort()) {
49554964
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
49564965
}
@@ -12144,6 +12153,14 @@ public interface NotificationClientInterface {
1214412153
*/
1214512154
suspend fun `getNotification`(`roomId`: kotlin.String, `eventId`: kotlin.String): NotificationItem?
1214612155

12156+
/**
12157+
* Fetches a room by its ID using the in-memory state store backed client.
12158+
*
12159+
* Useful to retrieve room information after running the limited
12160+
* notification client sliding sync loop.
12161+
*/
12162+
fun `getRoom`(`roomId`: kotlin.String): Room?
12163+
1214712164
companion object
1214812165
}
1214912166

@@ -12254,6 +12271,25 @@ open class NotificationClient: Disposable, AutoCloseable, NotificationClientInte
1225412271
}
1225512272

1225612273

12274+
/**
12275+
* Fetches a room by its ID using the in-memory state store backed client.
12276+
*
12277+
* Useful to retrieve room information after running the limited
12278+
* notification client sliding sync loop.
12279+
*/
12280+
@Throws(ClientException::class)override fun `getRoom`(`roomId`: kotlin.String): Room? {
12281+
return FfiConverterOptionalTypeRoom.lift(
12282+
callWithPointer {
12283+
uniffiRustCallWithError(ClientException) { _status ->
12284+
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_notificationclient_get_room(
12285+
it, FfiConverterString.lower(`roomId`),_status)
12286+
}
12287+
}
12288+
)
12289+
}
12290+
12291+
12292+
1225712293

1225812294

1225912295

0 commit comments

Comments
 (0)