Skip to content

Commit 2617a5c

Browse files
committed
Bump to version 25.10.07 (matrix-rust-sdk/main 87d9bd14e3f17b1c65479ac19bfedb276b969d21)
1 parent bd2e8c2 commit 2617a5c

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 = "71f9ef41c8501a1860bd9f5294d21b11103f3e756774cb818b062c6e3b79f536"
5-
let version = "25.10.02"
4+
let checksum = "b7215754fdd999c837c08cf4f6f71469a8a474ff339481c705890fe2aac69780"
5+
let version = "25.10.07"
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
@@ -5476,6 +5476,11 @@ public protocol NotificationSettingsProtocol : AnyObject {
54765476
*/
54775477
func getDefaultRoomNotificationMode(isEncrypted: Bool, isOneToOne: Bool) async -> RoomNotificationMode
54785478

5479+
/**
5480+
* Returns the raw push rules in JSON format.
5481+
*/
5482+
func getRawPushRules() async throws -> String?
5483+
54795484
/**
54805485
* Get the notification settings for a room.
54815486
*
@@ -5719,6 +5724,26 @@ open func getDefaultRoomNotificationMode(isEncrypted: Bool, isOneToOne: Bool)asy
57195724
)
57205725
}
57215726

5727+
/**
5728+
* Returns the raw push rules in JSON format.
5729+
*/
5730+
open func getRawPushRules()async throws -> String? {
5731+
return
5732+
try await uniffiRustCallAsync(
5733+
rustFutureFunc: {
5734+
uniffi_matrix_sdk_ffi_fn_method_notificationsettings_get_raw_push_rules(
5735+
self.uniffiClonePointer()
5736+
5737+
)
5738+
},
5739+
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
5740+
completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
5741+
freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
5742+
liftFunc: FfiConverterOptionString.lift,
5743+
errorHandler: FfiConverterTypeClientError.lift
5744+
)
5745+
}
5746+
57225747
/**
57235748
* Get the notification settings for a room.
57245749
*
@@ -39539,6 +39564,9 @@ private var initializationResult: InitializationResult = {
3953939564
if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_default_room_notification_mode() != 36211) {
3954039565
return InitializationResult.apiChecksumMismatch
3954139566
}
39567+
if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_raw_push_rules() != 17884) {
39568+
return InitializationResult.apiChecksumMismatch
39569+
}
3954239570
if (uniffi_matrix_sdk_ffi_checksum_method_notificationsettings_get_room_notification_settings() != 55295) {
3954339571
return InitializationResult.apiChecksumMismatch
3954439572
}

0 commit comments

Comments
 (0)