File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
1
// swift-tools-version:5.9
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
import PackageDescription
4
- let checksum = " 1245f8ab514cf127b4fa290e872dec5ffe9fbc96bc5b5c9ce8a85b74bfe9c472 "
5
- let version = " 25.06.12 "
4
+ let checksum = " 2f49b08cc61116fb8e3127c72cc852dee37f5455828ae2e6bdefb1d26fa58020 "
5
+ let version = " 25.06.12-2 "
6
6
let url = " https://github.com/element-hq/matrix-rust-components-swift/releases/download/ \( version) /MatrixSDKFFI.xcframework.zip "
7
7
let package = Package (
8
8
name: " MatrixRustSDK " ,
Original file line number Diff line number Diff line change @@ -452,6 +452,11 @@ public enum ShieldStateCode {
452
452
* The sender was previously verified but changed their identity.
453
453
*/
454
454
case verificationViolation
455
+ /**
456
+ * The `sender` field on the event does not match the owner of the device
457
+ * that established the Megolm session.
458
+ */
459
+ case mismatchedSender
455
460
}
456
461
457
462
@@ -474,6 +479,8 @@ public struct FfiConverterTypeShieldStateCode: FfiConverterRustBuffer {
474
479
475
480
case 6 : return . verificationViolation
476
481
482
+ case 7 : return . mismatchedSender
483
+
477
484
default : throw UniffiInternalError . unexpectedEnumCase
478
485
}
479
486
}
@@ -505,6 +512,10 @@ public struct FfiConverterTypeShieldStateCode: FfiConverterRustBuffer {
505
512
case . verificationViolation:
506
513
writeInt ( & buf, Int32 ( 6 ) )
507
514
515
+
516
+ case . mismatchedSender:
517
+ writeInt ( & buf, Int32 ( 7 ) )
518
+
508
519
}
509
520
}
510
521
}
Original file line number Diff line number Diff line change @@ -11100,6 +11100,8 @@ public protocol ThreadSummaryProtocol : AnyObject {
11100
11100
11101
11101
func latestEvent() -> EmbeddedEventDetails
11102
11102
11103
+ func numReplies() -> UInt64
11104
+
11103
11105
}
11104
11106
11105
11107
open class ThreadSummary:
@@ -11150,6 +11152,13 @@ open func latestEvent() -> EmbeddedEventDetails {
11150
11152
})
11151
11153
}
11152
11154
11155
+ open func numReplies() -> UInt64 {
11156
+ return try! FfiConverterUInt64.lift(try! rustCall() {
11157
+ uniffi_matrix_sdk_ffi_fn_method_threadsummary_num_replies(self.uniffiClonePointer(),$0
11158
+ )
11159
+ })
11160
+ }
11161
+
11153
11162
11154
11163
}
11155
11164
@@ -38190,6 +38199,9 @@ private var initializationResult: InitializationResult = {
38190
38199
if (uniffi_matrix_sdk_ffi_checksum_method_threadsummary_latest_event() != 52917) {
38191
38200
return InitializationResult.apiChecksumMismatch
38192
38201
}
38202
+ if (uniffi_matrix_sdk_ffi_checksum_method_threadsummary_num_replies() != 10634) {
38203
+ return InitializationResult.apiChecksumMismatch
38204
+ }
38193
38205
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_add_listener() != 18746) {
38194
38206
return InitializationResult.apiChecksumMismatch
38195
38207
}
You can’t perform that action at this time.
0 commit comments