We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d80b9 commit a628e84Copy full SHA for a628e84
crates/matrix-sdk-crypto/src/identities/user.rs
@@ -225,7 +225,7 @@ impl UserIdentity {
225
/// Returns a request that needs to be sent out for the user to be marked
226
/// as verified.
227
pub async fn verify(&self) -> Result<SignatureUploadRequest, SignatureError> {
228
- if self.user_id() == self.verification_machine.own_user_id() {
+ if self.user_id() != self.verification_machine.own_user_id() {
229
Ok(self
230
.verification_machine
231
.private_identity
0 commit comments