crypto: Fix a clippy warning.
parent
317a141e07
commit
c2a386b889
|
@ -226,16 +226,13 @@ impl Sas {
|
|||
identity.user_id(),
|
||||
);
|
||||
|
||||
match &identity {
|
||||
UserIdentities::Own(i) => {
|
||||
if let UserIdentities::Own(i) = &identity {
|
||||
i.mark_as_verified();
|
||||
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.
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Ok(true)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue