From b41ee00d96f087f5eaeb351c9353f569ebb11805 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Tue, 10 Dec 2024 21:01:41 +0100 Subject: [PATCH] Bump SDK version to 0.2.43 (matrix-rust-sdk to 31fce0fe9e88def3ef743625e0eb324b4cc5cd17) --- buildSrc/src/main/kotlin/BuildVersionsSDK.kt | 2 +- .../kotlin/org/matrix/rustcomponents/sdk/matrix_sdk_ffi.kt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/BuildVersionsSDK.kt b/buildSrc/src/main/kotlin/BuildVersionsSDK.kt index 1f1643a..f459bf4 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 = 42 + const val patchVersion = 43 } 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 fc0c9ec..738b246 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 @@ -25385,6 +25385,7 @@ data class RoomInfo ( * SC: Space-specific fields */ var `spaceChildren`: List, + var `canUserManageSpaces`: kotlin.Boolean, /** * Whether this room has been explicitly marked as unread */ @@ -25449,6 +25450,7 @@ public object FfiConverterTypeRoomInfo: FfiConverterRustBuffer { FfiConverterSequenceString.read(buf), FfiConverterSequenceTypeSpaceChildInfo.read(buf), FfiConverterBoolean.read(buf), + FfiConverterBoolean.read(buf), FfiConverterULong.read(buf), FfiConverterULong.read(buf), FfiConverterULong.read(buf), @@ -25486,6 +25488,7 @@ public object FfiConverterTypeRoomInfo: FfiConverterRustBuffer { FfiConverterBoolean.allocationSize(value.`hasRoomCall`) + FfiConverterSequenceString.allocationSize(value.`activeRoomCallParticipants`) + FfiConverterSequenceTypeSpaceChildInfo.allocationSize(value.`spaceChildren`) + + FfiConverterBoolean.allocationSize(value.`canUserManageSpaces`) + FfiConverterBoolean.allocationSize(value.`isMarkedUnread`) + FfiConverterULong.allocationSize(value.`numUnreadMessages`) + FfiConverterULong.allocationSize(value.`numUnreadNotifications`) + @@ -25523,6 +25526,7 @@ public object FfiConverterTypeRoomInfo: FfiConverterRustBuffer { FfiConverterBoolean.write(value.`hasRoomCall`, buf) FfiConverterSequenceString.write(value.`activeRoomCallParticipants`, buf) FfiConverterSequenceTypeSpaceChildInfo.write(value.`spaceChildren`, buf) + FfiConverterBoolean.write(value.`canUserManageSpaces`, buf) FfiConverterBoolean.write(value.`isMarkedUnread`, buf) FfiConverterULong.write(value.`numUnreadMessages`, buf) FfiConverterULong.write(value.`numUnreadNotifications`, buf)