File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import PackageDescription
5
5
6
- let checksum = " 44c15785d1a58c48cdb71ba16988b02070c9fc38913dc522199872a82d16f5d4 "
7
- let version = " v1.1.61 "
6
+ let checksum = " efe5b3e3f0227c45ca243ba0e73fc3f99aa39b37ef593f7592269aa8980d400c "
7
+ let version = " v1.1.62 "
8
8
let url = " https://github.com/matrix-org/matrix-rust-components-swift/releases/download/ \( version) /MatrixSDKFFI.xcframework.zip "
9
9
10
10
let package = Package (
Original file line number Diff line number Diff line change @@ -23711,7 +23711,18 @@ public func makeWidgetDriver(settings: WidgetSettings) throws -> WidgetDriverAn
23711
23711
)
23712
23712
}
23713
23713
/**
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.
23715
23726
*/
23716
23727
public func matrixToUserPermalink(userId: String) throws -> String {
23717
23728
return try FfiConverterString.lift(
@@ -23874,7 +23885,10 @@ private var initializationResult: InitializationResult {
23874
23885
if (uniffi_matrix_sdk_ffi_checksum_func_make_widget_driver() != 11382) {
23875
23886
return InitializationResult.apiChecksumMismatch
23876
23887
}
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) {
23878
23892
return InitializationResult.apiChecksumMismatch
23879
23893
}
23880
23894
if (uniffi_matrix_sdk_ffi_checksum_func_media_source_from_url() != 33587) {
You can’t perform that action at this time.
0 commit comments