@@ -11712,6 +11712,11 @@ public func FfiConverterTypeUnreadNotificationsCount_lower(_ value: UnreadNotifi
11712
11712
*/
11713
11713
public protocol UserIdentityProtocol : AnyObject {
11714
11714
11715
+ /**
11716
+ * Was this identity previously verified, and is no longer?
11717
+ */
11718
+ func hasVerificationViolation() -> Bool
11719
+
11715
11720
/**
11716
11721
* Is the user identity considered to be verified.
11717
11722
*
@@ -11748,6 +11753,14 @@ public protocol UserIdentityProtocol : AnyObject {
11748
11753
*/
11749
11754
func pin() async throws
11750
11755
11756
+ /**
11757
+ * True if we verified this identity at some point in the past.
11758
+ *
11759
+ * To reset this latch back to `false`, one must call
11760
+ * [`UserIdentity::withdraw_verification()`].
11761
+ */
11762
+ func wasPreviouslyVerified() -> Bool
11763
+
11751
11764
/**
11752
11765
* Remove the requirement for this identity to be verified.
11753
11766
*
@@ -11803,6 +11816,16 @@ open class UserIdentity:
11803
11816
11804
11817
11805
11818
11819
+ /**
11820
+ * Was this identity previously verified, and is no longer?
11821
+ */
11822
+ open func hasVerificationViolation() -> Bool {
11823
+ return try! FfiConverterBool.lift(try! rustCall() {
11824
+ uniffi_matrix_sdk_ffi_fn_method_useridentity_has_verification_violation(self.uniffiClonePointer(),$0
11825
+ )
11826
+ })
11827
+ }
11828
+
11806
11829
/**
11807
11830
* Is the user identity considered to be verified.
11808
11831
*
@@ -11864,6 +11887,19 @@ open func pin()async throws {
11864
11887
)
11865
11888
}
11866
11889
11890
+ /**
11891
+ * True if we verified this identity at some point in the past.
11892
+ *
11893
+ * To reset this latch back to `false`, one must call
11894
+ * [`UserIdentity::withdraw_verification()`].
11895
+ */
11896
+ open func wasPreviouslyVerified() -> Bool {
11897
+ return try! FfiConverterBool.lift(try! rustCall() {
11898
+ uniffi_matrix_sdk_ffi_fn_method_useridentity_was_previously_verified(self.uniffiClonePointer(),$0
11899
+ )
11900
+ })
11901
+ }
11902
+
11867
11903
/**
11868
11904
* Remove the requirement for this identity to be verified.
11869
11905
*
@@ -33060,6 +33096,9 @@ private var initializationResult: InitializationResult = {
33060
33096
if (uniffi_matrix_sdk_ffi_checksum_method_unreadnotificationscount_notification_count() != 35655) {
33061
33097
return InitializationResult.apiChecksumMismatch
33062
33098
}
33099
+ if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_has_verification_violation() != 2948) {
33100
+ return InitializationResult.apiChecksumMismatch
33101
+ }
33063
33102
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_is_verified() != 61954) {
33064
33103
return InitializationResult.apiChecksumMismatch
33065
33104
}
@@ -33069,6 +33108,9 @@ private var initializationResult: InitializationResult = {
33069
33108
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_pin() != 62925) {
33070
33109
return InitializationResult.apiChecksumMismatch
33071
33110
}
33111
+ if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_was_previously_verified() != 41686) {
33112
+ return InitializationResult.apiChecksumMismatch
33113
+ }
33072
33114
if (uniffi_matrix_sdk_ffi_checksum_method_useridentity_withdraw_verification() != 3578) {
33073
33115
return InitializationResult.apiChecksumMismatch
33074
33116
}
0 commit comments