mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 14:56:33 +03:00
chore: rustfmt
This commit is contained in:
@@ -2214,7 +2214,9 @@ async fn has_verified_encryption(
|
|||||||
// and results in group-splits otherwise.
|
// and results in group-splits otherwise.
|
||||||
if from_id != ContactId::SELF {
|
if from_id != ContactId::SELF {
|
||||||
let Some(peerstate) = &mimeparser.decryption_info.peerstate else {
|
let Some(peerstate) = &mimeparser.decryption_info.peerstate else {
|
||||||
return Ok(NotVerified("No peerstate, the contact isn't verified".to_string()));
|
return Ok(NotVerified(
|
||||||
|
"No peerstate, the contact isn't verified".to_string(),
|
||||||
|
));
|
||||||
};
|
};
|
||||||
|
|
||||||
if !peerstate.has_verified_key(&mimeparser.signatures) {
|
if !peerstate.has_verified_key(&mimeparser.signatures) {
|
||||||
|
|||||||
Reference in New Issue
Block a user