feat: encrypt Autocrypt header

This commit is contained in:
link2xt
2024-11-02 16:59:01 +00:00
parent b89eec8bbb
commit 72cde739ae

View File

@@ -743,8 +743,6 @@ impl MimeFactory {
hidden_headers.push(header);
} else if header_name == "chat-user-avatar" {
hidden_headers.push(header);
} else if header_name == "autocrypt" {
unprotected_headers.push(header.clone());
} else if header_name == "from" {
// Unencrypted securejoin messages should _not_ include the display name:
if is_encrypted || !is_securejoin_message {