@@ -5880,7 +5880,7 @@ public protocol RoomProtocol : AnyObject {
5880
5880
/**
5881
5881
* Remove the `ComposerDraft` stored in the state store for this room.
5882
5882
*/
5883
- func clearComposerDraft() async throws
5883
+ func clearComposerDraft(threadRoot: String? ) async throws
5884
5884
5885
5885
/**
5886
5886
* Clear the event cache storage for the current room.
@@ -6037,7 +6037,7 @@ public protocol RoomProtocol : AnyObject {
6037
6037
/**
6038
6038
* Retrieve the `ComposerDraft` stored in the state store for this room.
6039
6039
*/
6040
- func loadComposerDraft() async throws -> ComposerDraft?
6040
+ func loadComposerDraft(threadRoot: String? ) async throws -> ComposerDraft?
6041
6041
6042
6042
/**
6043
6043
* Mark a room as read, by attaching a read receipt on the latest event.
@@ -6186,7 +6186,7 @@ public protocol RoomProtocol : AnyObject {
6186
6186
* Store the given `ComposerDraft` in the state store using the current
6187
6187
* room id, as identifier.
6188
6188
*/
6189
- func saveComposerDraft(draft: ComposerDraft) async throws
6189
+ func saveComposerDraft(draft: ComposerDraft, threadRoot: String? ) async throws
6190
6190
6191
6191
/**
6192
6192
* Send a call notification event in the current room.
@@ -6655,13 +6655,13 @@ open func canonicalAlias() -> String? {
6655
6655
/**
6656
6656
* Remove the `ComposerDraft` stored in the state store for this room.
6657
6657
*/
6658
- open func clearComposerDraft()async throws {
6658
+ open func clearComposerDraft(threadRoot: String? )async throws {
6659
6659
return
6660
6660
try await uniffiRustCallAsync(
6661
6661
rustFutureFunc: {
6662
6662
uniffi_matrix_sdk_ffi_fn_method_room_clear_composer_draft(
6663
- self.uniffiClonePointer()
6664
-
6663
+ self.uniffiClonePointer(),
6664
+ FfiConverterOptionString.lower(threadRoot)
6665
6665
)
6666
6666
},
6667
6667
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -7155,13 +7155,13 @@ open func leave()async throws {
7155
7155
/**
7156
7156
* Retrieve the `ComposerDraft` stored in the state store for this room.
7157
7157
*/
7158
- open func loadComposerDraft()async throws -> ComposerDraft? {
7158
+ open func loadComposerDraft(threadRoot: String? )async throws -> ComposerDraft? {
7159
7159
return
7160
7160
try await uniffiRustCallAsync(
7161
7161
rustFutureFunc: {
7162
7162
uniffi_matrix_sdk_ffi_fn_method_room_load_composer_draft(
7163
- self.uniffiClonePointer()
7164
-
7163
+ self.uniffiClonePointer(),
7164
+ FfiConverterOptionString.lower(threadRoot)
7165
7165
)
7166
7166
},
7167
7167
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
@@ -7624,13 +7624,13 @@ open func roomInfo()async throws -> RoomInfo {
7624
7624
* Store the given `ComposerDraft` in the state store using the current
7625
7625
* room id, as identifier.
7626
7626
*/
7627
- open func saveComposerDraft(draft: ComposerDraft)async throws {
7627
+ open func saveComposerDraft(draft: ComposerDraft, threadRoot: String? )async throws {
7628
7628
return
7629
7629
try await uniffiRustCallAsync(
7630
7630
rustFutureFunc: {
7631
7631
uniffi_matrix_sdk_ffi_fn_method_room_save_composer_draft(
7632
7632
self.uniffiClonePointer(),
7633
- FfiConverterTypeComposerDraft.lower(draft)
7633
+ FfiConverterTypeComposerDraft.lower(draft),FfiConverterOptionString.lower(threadRoot)
7634
7634
)
7635
7635
},
7636
7636
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -37773,7 +37773,7 @@ private var initializationResult: InitializationResult = {
37773
37773
if (uniffi_matrix_sdk_ffi_checksum_method_room_canonical_alias() != 19786) {
37774
37774
return InitializationResult.apiChecksumMismatch
37775
37775
}
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 ) {
37777
37777
return InitializationResult.apiChecksumMismatch
37778
37778
}
37779
37779
if (uniffi_matrix_sdk_ffi_checksum_method_room_clear_event_cache_storage() != 13838) {
@@ -37863,7 +37863,7 @@ private var initializationResult: InitializationResult = {
37863
37863
if (uniffi_matrix_sdk_ffi_checksum_method_room_leave() != 63688) {
37864
37864
return InitializationResult.apiChecksumMismatch
37865
37865
}
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 ) {
37867
37867
return InitializationResult.apiChecksumMismatch
37868
37868
}
37869
37869
if (uniffi_matrix_sdk_ffi_checksum_method_room_mark_as_read() != 57806) {
@@ -37935,7 +37935,7 @@ private var initializationResult: InitializationResult = {
37935
37935
if (uniffi_matrix_sdk_ffi_checksum_method_room_room_info() != 41146) {
37936
37936
return InitializationResult.apiChecksumMismatch
37937
37937
}
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 ) {
37939
37939
return InitializationResult.apiChecksumMismatch
37940
37940
}
37941
37941
if (uniffi_matrix_sdk_ffi_checksum_method_room_send_call_notification() != 43366) {
0 commit comments