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 33
44import PackageDescription
55
6- let checksum = " 44c15785d1a58c48cdb71ba16988b02070c9fc38913dc522199872a82d16f5d4 "
7- let version = " v1.1.61 "
6+ let checksum = " efe5b3e3f0227c45ca243ba0e73fc3f99aa39b37ef593f7592269aa8980d400c "
7+ let version = " v1.1.62 "
88let url = " https://github.com/matrix-org/matrix-rust-components-swift/releases/download/ \( version) /MatrixSDKFFI.xcframework.zip "
99
1010let package = Package (
Original file line number Diff line number Diff 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 */
2371623727public 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) {
You can’t perform that action at this time.
0 commit comments