mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 23:16:30 +03:00
Bunch of feedback: renames, simple functions, no cow
This commit is contained in:
@@ -27,7 +27,7 @@ use crate::message;
|
||||
use crate::param::{Param, Params};
|
||||
use crate::peerstate::Peerstate;
|
||||
use crate::simplify::simplify;
|
||||
use crate::stock::CantDecryptMsgBody;
|
||||
use crate::stock_str;
|
||||
|
||||
/// A parsed MIME message.
|
||||
///
|
||||
@@ -629,7 +629,7 @@ impl MimeMessage {
|
||||
// we currently do not try to decrypt non-autocrypt messages
|
||||
// at all. If we see an encrypted part, we set
|
||||
// decrypting_failed.
|
||||
let msg_body = CantDecryptMsgBody::stock_str(context).await;
|
||||
let msg_body = stock_str::cant_decrypt_msg_body(context).await;
|
||||
let txt = format!("[{}]", msg_body);
|
||||
|
||||
let part = Part {
|
||||
|
||||
Reference in New Issue
Block a user