Skip to content

Commit f000a92

Browse files
committed
Bump to version v1.0.17 (matrix-rust-sdk/main a6c962b)
1 parent 52ff54b commit f000a92

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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 = "55f5ff3d77321b11e4e02f5e8febdb65d0b3b69c08745108fd45113fd87b8d52"
5-
let version = "v1.0.16"
4+
let checksum = "3bfdec1c04cd3c1d197a5f0fcbc6d9980c812fe309a48bcefde6f6bc5b018a93"
5+
let version = "v1.0.17"
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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8231,7 +8231,7 @@ public protocol TimelineProtocol : AnyObject {
82318231

82328232
func createPoll(question: String, answers: [String], maxSelections: UInt8, pollKind: PollKind) async throws
82338233

8234-
func edit(newContent: RoomMessageEventContentWithoutRelation, editItem: EventTimelineItem) async throws
8234+
func edit(newContent: RoomMessageEventContentWithoutRelation, eventId: String) async throws
82358235

82368236
func editPoll(question: String, answers: [String], maxSelections: UInt8, pollKind: PollKind, editItem: EventTimelineItem) async throws
82378237

@@ -8333,7 +8333,7 @@ public protocol TimelineProtocol : AnyObject {
83338333

83348334
func sendReadReceipt(receiptType: ReceiptType, eventId: String) async throws
83358335

8336-
func sendReply(msg: RoomMessageEventContentWithoutRelation, replyItem: EventTimelineItem) async throws
8336+
func sendReply(msg: RoomMessageEventContentWithoutRelation, eventId: String) async throws
83378337

83388338
func sendVideo(url: String, thumbnailUrl: String?, videoInfo: VideoInfo, caption: String?, formattedCaption: FormattedBody?, progressWatcher: ProgressWatcher?) -> SendAttachmentJoinHandle
83398339

@@ -8421,13 +8421,13 @@ open func createPoll(question: String, answers: [String], maxSelections: UInt8,
84218421
)
84228422
}
84238423

8424-
open func edit(newContent: RoomMessageEventContentWithoutRelation, editItem: EventTimelineItem)async throws {
8424+
open func edit(newContent: RoomMessageEventContentWithoutRelation, eventId: String)async throws {
84258425
return
84268426
try await uniffiRustCallAsync(
84278427
rustFutureFunc: {
84288428
uniffi_matrix_sdk_ffi_fn_method_timeline_edit(
84298429
self.uniffiClonePointer(),
8430-
FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(newContent),FfiConverterTypeEventTimelineItem.lower(editItem)
8430+
FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(newContent),FfiConverterString.lower(eventId)
84318431
)
84328432
},
84338433
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -8790,13 +8790,13 @@ open func sendReadReceipt(receiptType: ReceiptType, eventId: String)async throws
87908790
)
87918791
}
87928792

8793-
open func sendReply(msg: RoomMessageEventContentWithoutRelation, replyItem: EventTimelineItem)async throws {
8793+
open func sendReply(msg: RoomMessageEventContentWithoutRelation, eventId: String)async throws {
87948794
return
87958795
try await uniffiRustCallAsync(
87968796
rustFutureFunc: {
87978797
uniffi_matrix_sdk_ffi_fn_method_timeline_send_reply(
87988798
self.uniffiClonePointer(),
8799-
FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(msg),FfiConverterTypeEventTimelineItem.lower(replyItem)
8799+
FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(msg),FfiConverterString.lower(eventId)
88008800
)
88018801
},
88028802
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -26108,7 +26108,7 @@ private var initializationResult: InitializationResult {
2610826108
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_create_poll() != 37925) {
2610926109
return InitializationResult.apiChecksumMismatch
2611026110
}
26111-
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit() != 45021) {
26111+
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit() != 48577) {
2611226112
return InitializationResult.apiChecksumMismatch
2611326113
}
2611426114
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit_poll() != 40066) {
@@ -26168,7 +26168,7 @@ private var initializationResult: InitializationResult {
2616826168
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_read_receipt() != 37532) {
2616926169
return InitializationResult.apiChecksumMismatch
2617026170
}
26171-
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_reply() != 356) {
26171+
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_reply() != 64747) {
2617226172
return InitializationResult.apiChecksumMismatch
2617326173
}
2617426174
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_video() != 34287) {

0 commit comments

Comments
 (0)