refactor: ignore ForcePlaintext in saved messages chat

ForcePlaintext was used for Autocrypt Setup Message,
there is no need to support it in saved messages chat anymore.
This commit is contained in:
link2xt
2026-04-06 23:42:34 +02:00
committed by l
parent 3b8f1934f3
commit f75a7986b5

View File

@@ -232,11 +232,7 @@ impl MimeFactory {
if chat.is_self_talk() {
to.push((from_displayname.to_string(), from_addr.to_string()));
encryption_pubkeys = if msg.param.get_bool(Param::ForcePlaintext).unwrap_or(false) {
None
} else {
Some(Vec::new())
};
encryption_pubkeys = Some(Vec::new());
} else if chat.is_mailing_list() {
let list_post = chat
.param