From 66d6e450d37fe4549d076211cb9214d7821368ae Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 5 Aug 2024 13:58:47 +0200 Subject: [PATCH] CodeReview: Clarify comment --- crates/matrix-sdk-crypto/src/identities/user.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/matrix-sdk-crypto/src/identities/user.rs b/crates/matrix-sdk-crypto/src/identities/user.rs index 5f3f001518a..9be755d1f8c 100644 --- a/crates/matrix-sdk-crypto/src/identities/user.rs +++ b/crates/matrix-sdk-crypto/src/identities/user.rs @@ -438,9 +438,10 @@ pub struct OtherUserIdentityData { pub(crate) master_key: Arc, self_signing_key: Arc, pinned_master_key: Arc>, - /// This tracks whether we've verified this user with any identity at - /// any point in time on this device. To use it in the future to detect - /// cases where the user has become unverified for any reason. + /// This tracks whether this olm machine has already seen this user as + /// verified. To use it in the future to detect cases where the user has + /// become unverified for any reason. This can be reset using + /// [`OtherUserIdentityData::withdraw_verification()`]. previously_verified: Arc, }