Skip to content

Commit b7a1c88

Browse files
committed
Bump to v1.1.4 (matrix-rust-sdk c567f963d5ac45c31c2c7bf737282dbce12b9be6)
1 parent 2599119 commit b7a1c88

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "93379aee7cf5f663db343e6e67e504908102d421baa4dc22329e85d0de1b20b5"
7-
let version = "v1.1.3"
6+
let checksum = "3085441c9c26a74716cd2702891e4c23076337f27793684c6b5c60d3fd993c09"
7+
let version = "v1.1.4"
88
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
99

1010
let package = Package(

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,6 +2610,7 @@ public protocol RoomProtocol {
26102610
func createPoll(question: String, answers: [String], maxSelections: UInt8, pollKind: PollKind, txnId: String?) throws
26112611
func displayName() throws -> String
26122612
func edit(newMsg: RoomMessageEventContentWithoutRelation, originalEventId: String, txnId: String?) throws
2613+
func endPoll(pollStartId: String, text: String, txnId: String?) throws
26132614
func fetchDetailsForEvent(eventId: String) throws
26142615
func fetchMembers() throws -> TaskHandle
26152616
func getTimelineEventContentByEventId(eventId: String) throws -> RoomMessageEventContentWithoutRelation
@@ -2646,6 +2647,7 @@ public protocol RoomProtocol {
26462647
func sendFile(url: String, fileInfo: FileInfo, progressWatcher: ProgressWatcher?) -> SendAttachmentJoinHandle
26472648
func sendImage(url: String, thumbnailUrl: String, imageInfo: ImageInfo, progressWatcher: ProgressWatcher?) -> SendAttachmentJoinHandle
26482649
func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?, txnId: String?)
2650+
func sendPollResponse(pollStartId: String, answers: [String], txnId: String?) throws
26492651
func sendReadMarker(fullyReadEventId: String, readReceiptEventId: String?) throws
26502652
func sendReadReceipt(eventId: String) throws
26512653
func sendReply(msg: RoomMessageEventContentWithoutRelation, inReplyToEventId: String, txnId: String?) throws
@@ -2969,6 +2971,17 @@ public class Room: RoomProtocol {
29692971
}
29702972
}
29712973

2974+
public func endPoll(pollStartId: String, text: String, txnId: String?) throws {
2975+
try
2976+
rustCallWithError(FfiConverterTypeClientError.lift) {
2977+
uniffi_matrix_sdk_ffi_fn_method_room_end_poll(self.pointer,
2978+
FfiConverterString.lower(pollStartId),
2979+
FfiConverterString.lower(text),
2980+
FfiConverterOptionString.lower(txnId),$0
2981+
)
2982+
}
2983+
}
2984+
29722985
public func fetchDetailsForEvent(eventId: String) throws {
29732986
try
29742987
rustCallWithError(FfiConverterTypeClientError.lift) {
@@ -3368,6 +3381,17 @@ public class Room: RoomProtocol {
33683381
}
33693382
}
33703383

3384+
public func sendPollResponse(pollStartId: String, answers: [String], txnId: String?) throws {
3385+
try
3386+
rustCallWithError(FfiConverterTypeClientError.lift) {
3387+
uniffi_matrix_sdk_ffi_fn_method_room_send_poll_response(self.pointer,
3388+
FfiConverterString.lower(pollStartId),
3389+
FfiConverterSequenceString.lower(answers),
3390+
FfiConverterOptionString.lower(txnId),$0
3391+
)
3392+
}
3393+
}
3394+
33713395
public func sendReadMarker(fullyReadEventId: String, readReceiptEventId: String?) throws {
33723396
try
33733397
rustCallWithError(FfiConverterTypeClientError.lift) {
@@ -17288,6 +17312,9 @@ private var initializationResult: InitializationResult {
1728817312
if (uniffi_matrix_sdk_ffi_checksum_method_room_edit() != 35232) {
1728917313
return InitializationResult.apiChecksumMismatch
1729017314
}
17315+
if (uniffi_matrix_sdk_ffi_checksum_method_room_end_poll() != 8937) {
17316+
return InitializationResult.apiChecksumMismatch
17317+
}
1729117318
if (uniffi_matrix_sdk_ffi_checksum_method_room_fetch_details_for_event() != 23233) {
1729217319
return InitializationResult.apiChecksumMismatch
1729317320
}
@@ -17396,6 +17423,9 @@ private var initializationResult: InitializationResult {
1739617423
if (uniffi_matrix_sdk_ffi_checksum_method_room_send_location() != 43614) {
1739717424
return InitializationResult.apiChecksumMismatch
1739817425
}
17426+
if (uniffi_matrix_sdk_ffi_checksum_method_room_send_poll_response() != 1386) {
17427+
return InitializationResult.apiChecksumMismatch
17428+
}
1739917429
if (uniffi_matrix_sdk_ffi_checksum_method_room_send_read_marker() != 53306) {
1740017430
return InitializationResult.apiChecksumMismatch
1740117431
}

0 commit comments

Comments
 (0)