chore: rustfmt

This commit is contained in:
link2xt
2023-08-26 18:15:11 +00:00
parent 5e3b1fa540
commit a520f0268f

View File

@@ -2214,7 +2214,9 @@ async fn has_verified_encryption(
// and results in group-splits otherwise.
if from_id != ContactId::SELF {
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) {