Skip to content

Commit e887859

Browse files
committed
Bump to version 24.12.20 (matrix-rust-sdk/HEAD bb573117e102261b46da3f2d6761c4b3f51850a7)
1 parent 60859c4 commit e887859

File tree

4 files changed

+4761
-1318
lines changed

4 files changed

+4761
-1318
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.5
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "9e046a84b8ad0aff5fdcd65ee50b803989dd49fa440bafa53a2c9b5a8f42c4ba"
5-
let version = "v1.2.0"
4+
let checksum = "13a62b88a768166c1d436acbe3ae27a436c706043bc45eabacd7412cef527a3a"
5+
let version = "24.12.20"
66
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk_common.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ public enum ShieldStateCode {
451451
/**
452452
* The sender was previously verified but changed their identity.
453453
*/
454-
case previouslyVerified
454+
case verificationViolation
455455
}
456456

457457

@@ -472,7 +472,7 @@ public struct FfiConverterTypeShieldStateCode: FfiConverterRustBuffer {
472472

473473
case 5: return .sentInClear
474474

475-
case 6: return .previouslyVerified
475+
case 6: return .verificationViolation
476476

477477
default: throw UniffiInternalError.unexpectedEnumCase
478478
}
@@ -502,7 +502,7 @@ public struct FfiConverterTypeShieldStateCode: FfiConverterRustBuffer {
502502
writeInt(&buf, Int32(5))
503503

504504

505-
case .previouslyVerified:
505+
case .verificationViolation:
506506
writeInt(&buf, Int32(6))
507507

508508
}

0 commit comments

Comments
 (0)