crypto: Fix a clippy warning.
parent
317a141e07
commit
c2a386b889
|
@ -226,16 +226,13 @@ impl Sas {
|
||||||
identity.user_id(),
|
identity.user_id(),
|
||||||
);
|
);
|
||||||
|
|
||||||
match &identity {
|
if let UserIdentities::Own(i) = &identity {
|
||||||
UserIdentities::Own(i) => {
|
i.mark_as_verified();
|
||||||
i.mark_as_verified();
|
self.store.save_user_identities(&[identity]).await?;
|
||||||
self.store.save_user_identities(&[identity]).await?;
|
|
||||||
}
|
|
||||||
// TODO if we have the private part of the user signing
|
|
||||||
// key we should sign and upload a signature for this
|
|
||||||
// identity.
|
|
||||||
_ => {}
|
|
||||||
}
|
}
|
||||||
|
// TODO if we have the private part of the user signing
|
||||||
|
// key we should sign and upload a signature for this
|
||||||
|
// identity.
|
||||||
|
|
||||||
Ok(true)
|
Ok(true)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue