Skip to content

Commit 24e511d

Browse files
author
github-actions
committed
Bump SDK version to 25.09.19 (matrix-rust-sdk to 0f0e37b6779e25678955ee87fb1882bab93c4bb6)
1 parent ebf2f32 commit 24e511d

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object BuildVersionsSDK {
22
const val majorVersion = 25
33
const val minorVersion = 9
4-
const val patchVersion = 18
4+
const val patchVersion = 19
55
}

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,6 +2550,8 @@ internal open class UniffiVTableCallbackInterfaceWidgetCapabilitiesProvider(
25502550

25512551

25522552

2553+
2554+
25532555

25542556

25552557

@@ -3260,6 +3262,8 @@ internal interface UniffiLib : Library {
32603262
): Unit
32613263
fun uniffi_matrix_sdk_ffi_fn_method_roomlist_entries_with_dynamic_adapters(`ptr`: Pointer,`pageSize`: Int,`listener`: Long,uniffi_out_err: UniffiRustCallStatus,
32623264
): Pointer
3265+
fun uniffi_matrix_sdk_ffi_fn_method_roomlist_entries_with_dynamic_adapters_with(`ptr`: Pointer,`pageSize`: Int,`enableLatestEventSorter`: Byte,`listener`: Long,uniffi_out_err: UniffiRustCallStatus,
3266+
): Pointer
32633267
fun uniffi_matrix_sdk_ffi_fn_method_roomlist_loading_state(`ptr`: Pointer,`listener`: Long,uniffi_out_err: UniffiRustCallStatus,
32643268
): RustBuffer.ByValue
32653269
fun uniffi_matrix_sdk_ffi_fn_method_roomlist_room(`ptr`: Pointer,`roomId`: RustBuffer.ByValue,uniffi_out_err: UniffiRustCallStatus,
@@ -4498,6 +4502,8 @@ internal interface UniffiLib : Library {
44984502
): Short
44994503
fun uniffi_matrix_sdk_ffi_checksum_method_roomlist_entries_with_dynamic_adapters(
45004504
): Short
4505+
fun uniffi_matrix_sdk_ffi_checksum_method_roomlist_entries_with_dynamic_adapters_with(
4506+
): Short
45014507
fun uniffi_matrix_sdk_ffi_checksum_method_roomlist_loading_state(
45024508
): Short
45034509
fun uniffi_matrix_sdk_ffi_checksum_method_roomlist_room(
@@ -5819,6 +5825,9 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
58195825
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlist_entries_with_dynamic_adapters() != 36097.toShort()) {
58205826
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
58215827
}
5828+
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlist_entries_with_dynamic_adapters_with() != 21746.toShort()) {
5829+
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
5830+
}
58225831
if (lib.uniffi_matrix_sdk_ffi_checksum_method_roomlist_loading_state() != 21585.toShort()) {
58235832
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
58245833
}
@@ -18130,6 +18139,8 @@ public interface RoomListInterface {
1813018139

1813118140
fun `entriesWithDynamicAdapters`(`pageSize`: kotlin.UInt, `listener`: RoomListEntriesListener): RoomListEntriesWithDynamicAdaptersResult
1813218141

18142+
fun `entriesWithDynamicAdaptersWith`(`pageSize`: kotlin.UInt, `enableLatestEventSorter`: kotlin.Boolean, `listener`: RoomListEntriesListener): RoomListEntriesWithDynamicAdaptersResult
18143+
1813318144
fun `loadingState`(`listener`: RoomListLoadingStateListener): RoomListLoadingStateResult
1813418145

1813518146
fun `room`(`roomId`: kotlin.String): Room
@@ -18230,6 +18241,18 @@ open class RoomList: Disposable, AutoCloseable, RoomListInterface {
1823018241
}
1823118242

1823218243

18244+
override fun `entriesWithDynamicAdaptersWith`(`pageSize`: kotlin.UInt, `enableLatestEventSorter`: kotlin.Boolean, `listener`: RoomListEntriesListener): RoomListEntriesWithDynamicAdaptersResult {
18245+
return FfiConverterTypeRoomListEntriesWithDynamicAdaptersResult.lift(
18246+
callWithPointer {
18247+
uniffiRustCall() { _status ->
18248+
UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_roomlist_entries_with_dynamic_adapters_with(
18249+
it, FfiConverterUInt.lower(`pageSize`),FfiConverterBoolean.lower(`enableLatestEventSorter`),FfiConverterTypeRoomListEntriesListener.lower(`listener`),_status)
18250+
}
18251+
}
18252+
)
18253+
}
18254+
18255+
1823318256

1823418257
@Throws(RoomListException::class)override fun `loadingState`(`listener`: RoomListLoadingStateListener): RoomListLoadingStateResult {
1823518258
return FfiConverterTypeRoomListLoadingStateResult.lift(
@@ -31235,6 +31258,13 @@ data class SpaceRoom (
3123531258
* Whether guest users may join the room and participate in it.
3123631259
*/
3123731260
var `guestCanJoin`: kotlin.Boolean,
31261+
/**
31262+
* Whether this room is a direct room.
31263+
*
31264+
* Only set if the room is known to the client otherwise we
31265+
* assume DMs shouldn't be exposed publicly in spaces.
31266+
*/
31267+
var `isDirect`: kotlin.Boolean?,
3123831268
/**
3123931269
* The number of children room this has, if a space.
3124031270
*/
@@ -31269,6 +31299,7 @@ public object FfiConverterTypeSpaceRoom: FfiConverterRustBuffer<SpaceRoom> {
3126931299
FfiConverterOptionalTypeJoinRule.read(buf),
3127031300
FfiConverterOptionalBoolean.read(buf),
3127131301
FfiConverterBoolean.read(buf),
31302+
FfiConverterOptionalBoolean.read(buf),
3127231303
FfiConverterULong.read(buf),
3127331304
FfiConverterOptionalTypeMembership.read(buf),
3127431305
FfiConverterOptionalSequenceTypeRoomHero.read(buf),
@@ -31287,6 +31318,7 @@ public object FfiConverterTypeSpaceRoom: FfiConverterRustBuffer<SpaceRoom> {
3128731318
FfiConverterOptionalTypeJoinRule.allocationSize(value.`joinRule`) +
3128831319
FfiConverterOptionalBoolean.allocationSize(value.`worldReadable`) +
3128931320
FfiConverterBoolean.allocationSize(value.`guestCanJoin`) +
31321+
FfiConverterOptionalBoolean.allocationSize(value.`isDirect`) +
3129031322
FfiConverterULong.allocationSize(value.`childrenCount`) +
3129131323
FfiConverterOptionalTypeMembership.allocationSize(value.`state`) +
3129231324
FfiConverterOptionalSequenceTypeRoomHero.allocationSize(value.`heroes`) +
@@ -31304,6 +31336,7 @@ public object FfiConverterTypeSpaceRoom: FfiConverterRustBuffer<SpaceRoom> {
3130431336
FfiConverterOptionalTypeJoinRule.write(value.`joinRule`, buf)
3130531337
FfiConverterOptionalBoolean.write(value.`worldReadable`, buf)
3130631338
FfiConverterBoolean.write(value.`guestCanJoin`, buf)
31339+
FfiConverterOptionalBoolean.write(value.`isDirect`, buf)
3130731340
FfiConverterULong.write(value.`childrenCount`, buf)
3130831341
FfiConverterOptionalTypeMembership.write(value.`state`, buf)
3130931342
FfiConverterOptionalSequenceTypeRoomHero.write(value.`heroes`, buf)

0 commit comments

Comments
 (0)