Skip to content

Commit 966e64d

Browse files
committed
Bump to version 25.05.26 (matrix-rust-sdk/main f0c7370637ad6e5333cda12f22b6f82548dae486)
1 parent 76cb7b6 commit 966e64d

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
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 = "c6a18fcbd803804cfcd490004b748643d08c69abcefb43dafbaa647f5a4deb77"
5-
let version = "25.05.23"
4+
let checksum = "29dba02ace2ed8f935263fae0a910f483edd93da96a6b38985adcf2de4dd11e2"
5+
let version = "25.05.26"
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: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5852,6 +5852,11 @@ public protocol RoomProtocol : AnyObject {
58525852

58535853
func invitedMembersCount() -> UInt64
58545854

5855+
/**
5856+
* Get the user who created the invite, if any.
5857+
*/
5858+
func inviter() async throws -> RoomMember?
5859+
58555860
func isDirect() async -> Bool
58565861

58575862
func isPublic() -> Bool
@@ -6769,6 +6774,26 @@ open func invitedMembersCount() -> UInt64 {
67696774
})
67706775
}
67716776

6777+
/**
6778+
* Get the user who created the invite, if any.
6779+
*/
6780+
open func inviter()async throws -> RoomMember? {
6781+
return
6782+
try await uniffiRustCallAsync(
6783+
rustFutureFunc: {
6784+
uniffi_matrix_sdk_ffi_fn_method_room_inviter(
6785+
self.uniffiClonePointer()
6786+
6787+
)
6788+
},
6789+
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
6790+
completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
6791+
freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
6792+
liftFunc: FfiConverterOptionTypeRoomMember.lift,
6793+
errorHandler: FfiConverterTypeClientError.lift
6794+
)
6795+
}
6796+
67726797
open func isDirect()async -> Bool {
67736798
return
67746799
try! await uniffiRustCallAsync(
@@ -37117,6 +37142,9 @@ private var initializationResult: InitializationResult = {
3711737142
if (uniffi_matrix_sdk_ffi_checksum_method_room_invited_members_count() != 1023) {
3711837143
return InitializationResult.apiChecksumMismatch
3711937144
}
37145+
if (uniffi_matrix_sdk_ffi_checksum_method_room_inviter() != 18103) {
37146+
return InitializationResult.apiChecksumMismatch
37147+
}
3712037148
if (uniffi_matrix_sdk_ffi_checksum_method_room_is_direct() != 10462) {
3712137149
return InitializationResult.apiChecksumMismatch
3712237150
}

0 commit comments

Comments
 (0)