Skip to content

Commit d0e83c7

Browse files
committed
Bump to version 25.06.13 (matrix-rust-sdk/stefan/threadAwareDrafting a49643292407c08916fa684dccbfe9275cb2aede)
1 parent 0f239a9 commit d0e83c7

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "2f49b08cc61116fb8e3127c72cc852dee37f5455828ae2e6bdefb1d26fa58020"
5-
let version = "25.06.12-2"
4+
let checksum = "def0cd0b678df8e69e45cbd03c06b26b56a752c869503dd48d1456f6b9baa5f8"
5+
let version = "25.06.13"
66
let url = "https://github.com/element-hq/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5880,7 +5880,7 @@ public protocol RoomProtocol : AnyObject {
58805880
/**
58815881
* Remove the `ComposerDraft` stored in the state store for this room.
58825882
*/
5883-
func clearComposerDraft() async throws
5883+
func clearComposerDraft(threadRoot: String?) async throws
58845884

58855885
/**
58865886
* Clear the event cache storage for the current room.
@@ -6037,7 +6037,7 @@ public protocol RoomProtocol : AnyObject {
60376037
/**
60386038
* Retrieve the `ComposerDraft` stored in the state store for this room.
60396039
*/
6040-
func loadComposerDraft() async throws -> ComposerDraft?
6040+
func loadComposerDraft(threadRoot: String?) async throws -> ComposerDraft?
60416041

60426042
/**
60436043
* Mark a room as read, by attaching a read receipt on the latest event.
@@ -6186,7 +6186,7 @@ public protocol RoomProtocol : AnyObject {
61866186
* Store the given `ComposerDraft` in the state store using the current
61876187
* room id, as identifier.
61886188
*/
6189-
func saveComposerDraft(draft: ComposerDraft) async throws
6189+
func saveComposerDraft(draft: ComposerDraft, threadRoot: String?) async throws
61906190

61916191
/**
61926192
* Send a call notification event in the current room.
@@ -6655,13 +6655,13 @@ open func canonicalAlias() -> String? {
66556655
/**
66566656
* Remove the `ComposerDraft` stored in the state store for this room.
66576657
*/
6658-
open func clearComposerDraft()async throws {
6658+
open func clearComposerDraft(threadRoot: String?)async throws {
66596659
return
66606660
try await uniffiRustCallAsync(
66616661
rustFutureFunc: {
66626662
uniffi_matrix_sdk_ffi_fn_method_room_clear_composer_draft(
6663-
self.uniffiClonePointer()
6664-
6663+
self.uniffiClonePointer(),
6664+
FfiConverterOptionString.lower(threadRoot)
66656665
)
66666666
},
66676667
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -7155,13 +7155,13 @@ open func leave()async throws {
71557155
/**
71567156
* Retrieve the `ComposerDraft` stored in the state store for this room.
71577157
*/
7158-
open func loadComposerDraft()async throws -> ComposerDraft? {
7158+
open func loadComposerDraft(threadRoot: String?)async throws -> ComposerDraft? {
71597159
return
71607160
try await uniffiRustCallAsync(
71617161
rustFutureFunc: {
71627162
uniffi_matrix_sdk_ffi_fn_method_room_load_composer_draft(
7163-
self.uniffiClonePointer()
7164-
7163+
self.uniffiClonePointer(),
7164+
FfiConverterOptionString.lower(threadRoot)
71657165
)
71667166
},
71677167
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
@@ -7624,13 +7624,13 @@ open func roomInfo()async throws -> RoomInfo {
76247624
* Store the given `ComposerDraft` in the state store using the current
76257625
* room id, as identifier.
76267626
*/
7627-
open func saveComposerDraft(draft: ComposerDraft)async throws {
7627+
open func saveComposerDraft(draft: ComposerDraft, threadRoot: String?)async throws {
76287628
return
76297629
try await uniffiRustCallAsync(
76307630
rustFutureFunc: {
76317631
uniffi_matrix_sdk_ffi_fn_method_room_save_composer_draft(
76327632
self.uniffiClonePointer(),
7633-
FfiConverterTypeComposerDraft.lower(draft)
7633+
FfiConverterTypeComposerDraft.lower(draft),FfiConverterOptionString.lower(threadRoot)
76347634
)
76357635
},
76367636
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -37773,7 +37773,7 @@ private var initializationResult: InitializationResult = {
3777337773
if (uniffi_matrix_sdk_ffi_checksum_method_room_canonical_alias() != 19786) {
3777437774
return InitializationResult.apiChecksumMismatch
3777537775
}
37776-
if (uniffi_matrix_sdk_ffi_checksum_method_room_clear_composer_draft() != 39667) {
37776+
if (uniffi_matrix_sdk_ffi_checksum_method_room_clear_composer_draft() != 59182) {
3777737777
return InitializationResult.apiChecksumMismatch
3777837778
}
3777937779
if (uniffi_matrix_sdk_ffi_checksum_method_room_clear_event_cache_storage() != 13838) {
@@ -37863,7 +37863,7 @@ private var initializationResult: InitializationResult = {
3786337863
if (uniffi_matrix_sdk_ffi_checksum_method_room_leave() != 63688) {
3786437864
return InitializationResult.apiChecksumMismatch
3786537865
}
37866-
if (uniffi_matrix_sdk_ffi_checksum_method_room_load_composer_draft() != 38115) {
37866+
if (uniffi_matrix_sdk_ffi_checksum_method_room_load_composer_draft() != 62856) {
3786737867
return InitializationResult.apiChecksumMismatch
3786837868
}
3786937869
if (uniffi_matrix_sdk_ffi_checksum_method_room_mark_as_read() != 57806) {
@@ -37935,7 +37935,7 @@ private var initializationResult: InitializationResult = {
3793537935
if (uniffi_matrix_sdk_ffi_checksum_method_room_room_info() != 41146) {
3793637936
return InitializationResult.apiChecksumMismatch
3793737937
}
37938-
if (uniffi_matrix_sdk_ffi_checksum_method_room_save_composer_draft() != 62232) {
37938+
if (uniffi_matrix_sdk_ffi_checksum_method_room_save_composer_draft() != 27585) {
3793937939
return InitializationResult.apiChecksumMismatch
3794037940
}
3794137941
if (uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification() != 43366) {

0 commit comments

Comments
 (0)