File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
crates/matrix-sdk/src/encryption/identities Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,4 @@ Additions:
34
34
- Add ` Encryption::get_user_identity ` which returns ` UserIdentity `
35
35
- Add ` ClientBuilder::room_key_recipient_strategy `
36
36
- Add ` Room::send_raw `
37
+ - Expose ` withdraw_verification ` to ` UserIdentity `
Original file line number Diff line number Diff line change @@ -478,6 +478,15 @@ impl UserIdentity {
478
478
Ok ( self . inner . pin ( ) . await ?)
479
479
}
480
480
481
+ /// Remove the requirement for this identity to be verified.
482
+ ///
483
+ /// If an identity was previously verified and is not anymore it will be
484
+ /// reported to the user. In order to remove this notice users have to
485
+ /// verify again or to withdraw the verification requirement.
486
+ pub ( crate ) async fn withdraw_verification ( & self ) -> Result < ( ) , ClientError > {
487
+ Ok ( self . inner . withdraw_verification ( ) . await ?)
488
+ }
489
+
481
490
/// Get the public part of the Master key of this user identity.
482
491
///
483
492
/// The public part of the Master key is usually used to uniquely identify
Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ impl UserIdentity {
415
415
416
416
/// Remove the requirement for this identity to be verified.
417
417
///
418
- /// If an identity was previously verified and is not any more it will be
418
+ /// If an identity was previously verified and is not anymore it will be
419
419
/// reported to the user. In order to remove this notice users have to
420
420
/// verify again or to withdraw the verification requirement.
421
421
pub async fn withdraw_verification ( & self ) -> Result < ( ) , CryptoStoreError > {
You can’t perform that action at this time.
0 commit comments