Skip to content

Commit c060a2a

Browse files
committed
Bump to v1.1.62 (matrix-rust-sdk/main 4618d7ca7dd83d077e1835e1b89eb419fb52b78f)
1 parent 8def4c4 commit c060a2a

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
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 = "44c15785d1a58c48cdb71ba16988b02070c9fc38913dc522199872a82d16f5d4"
7-
let version = "v1.1.61"
6+
let checksum = "efe5b3e3f0227c45ca243ba0e73fc3f99aa39b37ef593f7592269aa8980d400c"
7+
let version = "v1.1.62"
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: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23711,7 +23711,18 @@ public func makeWidgetDriver(settings: WidgetSettings) throws -> WidgetDriverAn
2371123711
)
2371223712
}
2371323713
/**
23714-
* Generates a `matrix.to` permalink from to the given userID.
23714+
* Generates a `matrix.to` permalink to the given room alias.
23715+
*/
23716+
public func matrixToRoomAliasPermalink(roomAlias: String) throws -> String {
23717+
return try FfiConverterString.lift(
23718+
try rustCallWithError(FfiConverterTypeClientError.lift) {
23719+
uniffi_matrix_sdk_ffi_fn_func_matrix_to_room_alias_permalink(
23720+
FfiConverterString.lower(roomAlias),$0)
23721+
}
23722+
)
23723+
}
23724+
/**
23725+
* Generates a `matrix.to` permalink to the given userID.
2371523726
*/
2371623727
public func matrixToUserPermalink(userId: String) throws -> String {
2371723728
return try FfiConverterString.lift(
@@ -23874,7 +23885,10 @@ private var initializationResult: InitializationResult {
2387423885
if (uniffi_matrix_sdk_ffi_checksum_func_make_widget_driver() != 11382) {
2387523886
return InitializationResult.apiChecksumMismatch
2387623887
}
23877-
if (uniffi_matrix_sdk_ffi_checksum_func_matrix_to_user_permalink() != 56419) {
23888+
if (uniffi_matrix_sdk_ffi_checksum_func_matrix_to_room_alias_permalink() != 28565) {
23889+
return InitializationResult.apiChecksumMismatch
23890+
}
23891+
if (uniffi_matrix_sdk_ffi_checksum_func_matrix_to_user_permalink() != 46587) {
2387823892
return InitializationResult.apiChecksumMismatch
2387923893
}
2388023894
if (uniffi_matrix_sdk_ffi_checksum_func_media_source_from_url() != 33587) {

0 commit comments

Comments
 (0)