fix: use non-empty To: field for "saved messages"

This commit is contained in:
link2xt
2025-01-23 22:51:17 +00:00
committed by l
parent 8435f40dae
commit 6430977670
2 changed files with 11 additions and 1 deletions

View File

@@ -186,8 +186,8 @@ impl MimeFactory {
if chat.is_self_talk() {
if msg.param.get_cmd() == SystemMessage::AutocryptSetupMessage {
recipients.push(from_addr.to_string());
to.push((from_displayname.to_string(), from_addr.to_string()));
}
to.push((from_displayname.to_string(), from_addr.to_string()));
} else if chat.is_mailing_list() {
let list_post = chat
.param