Skip to content

Commit aac4f78

Browse files
committed
Bump to v1.1.15 (matrix-rust-sdk dde2f408c5e9449db3f01931ddae3cfd434c2d3d)
1 parent db9a4c6 commit aac4f78

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-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 = "7fc2dc9cec67240a071c14a5aa0fdfb0e6b44f33602d8fc6ad4efb0ed6c9dcf3"
7-
let version = "v1.1.14"
6+
let checksum = "d335b6f342ba29a32d289b761016481decda4a7fd9c3d76807b69ef5fdcc98be"
7+
let version = "v1.1.15"
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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ public protocol ClientProtocol {
613613
func login(username: String, password: String, initialDeviceName: String?, deviceId: String?) throws
614614
func logout() throws -> String?
615615
func notificationClient(processSetup: NotificationProcessSetup) throws -> NotificationClientBuilder
616+
func removeAvatar() throws
616617
func restoreSession(session: Session) throws
617618
func rooms() -> [Room]
618619
func searchUsers(searchTerm: String, limit: UInt64) throws -> SearchUsersResults
@@ -855,6 +856,14 @@ public class Client: ClientProtocol {
855856
)
856857
}
857858

859+
public func removeAvatar() throws {
860+
try
861+
rustCallWithError(FfiConverterTypeClientError.lift) {
862+
uniffi_matrix_sdk_ffi_fn_method_client_remove_avatar(self.pointer, $0
863+
)
864+
}
865+
}
866+
858867
public func restoreSession(session: Session) throws {
859868
try
860869
rustCallWithError(FfiConverterTypeClientError.lift) {
@@ -3791,6 +3800,7 @@ public protocol RoomListItemProtocol {
37913800
func latestEvent() async -> EventTimelineItem?
37923801
func name() -> String?
37933802
func roomInfo() async throws -> RoomInfo
3803+
func roomInfoBlocking() throws -> RoomInfo
37943804
func subscribe(settings: RoomSubscription?)
37953805
func unreadNotifications() -> UnreadNotificationsCount
37963806
func unsubscribe()
@@ -3941,6 +3951,16 @@ public class RoomListItem: RoomListItemProtocol {
39413951

39423952

39433953

3954+
public func roomInfoBlocking() throws -> RoomInfo {
3955+
return try FfiConverterTypeRoomInfo.lift(
3956+
try
3957+
rustCallWithError(FfiConverterTypeClientError.lift) {
3958+
uniffi_matrix_sdk_ffi_fn_method_roomlistitem_room_info_blocking(self.pointer, $0
3959+
)
3960+
}
3961+
)
3962+
}
3963+
39443964
public func subscribe(settings: RoomSubscription?) {
39453965
try!
39463966
rustCall() {
@@ -17614,6 +17634,9 @@ private var initializationResult: InitializationResult {
1761417634
if (uniffi_matrix_sdk_ffi_checksum_method_client_notification_client() != 16860) {
1761517635
return InitializationResult.apiChecksumMismatch
1761617636
}
17637+
if (uniffi_matrix_sdk_ffi_checksum_method_client_remove_avatar() != 41701) {
17638+
return InitializationResult.apiChecksumMismatch
17639+
}
1761717640
if (uniffi_matrix_sdk_ffi_checksum_method_client_restore_session() != 19558) {
1761817641
return InitializationResult.apiChecksumMismatch
1761917642
}
@@ -18064,6 +18087,9 @@ private var initializationResult: InitializationResult {
1806418087
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_room_info() != 17731) {
1806518088
return InitializationResult.apiChecksumMismatch
1806618089
}
18090+
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_room_info_blocking() != 48948) {
18091+
return InitializationResult.apiChecksumMismatch
18092+
}
1806718093
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe() != 16638) {
1806818094
return InitializationResult.apiChecksumMismatch
1806918095
}

0 commit comments

Comments
 (0)