mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
chore: fix nightly clippy warnings
This commit is contained in:
@@ -1056,8 +1056,10 @@ pub(crate) async fn mark_as_verified(this: &TestContext, other: &TestContext) {
|
||||
0,
|
||||
);
|
||||
|
||||
peerstate.verified_key = peerstate.public_key.clone();
|
||||
peerstate.verified_key_fingerprint = peerstate.public_key_fingerprint.clone();
|
||||
peerstate.verified_key.clone_from(&peerstate.public_key);
|
||||
peerstate
|
||||
.verified_key_fingerprint
|
||||
.clone_from(&peerstate.public_key_fingerprint);
|
||||
peerstate.backward_verified_key_id = Some(this.get_config_i64(Config::KeyId).await.unwrap());
|
||||
|
||||
peerstate.save_to_db(&this.sql).await.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user