mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
feat: encrypt Autocrypt header
This commit is contained in:
@@ -743,8 +743,6 @@ impl MimeFactory {
|
|||||||
hidden_headers.push(header);
|
hidden_headers.push(header);
|
||||||
} else if header_name == "chat-user-avatar" {
|
} else if header_name == "chat-user-avatar" {
|
||||||
hidden_headers.push(header);
|
hidden_headers.push(header);
|
||||||
} else if header_name == "autocrypt" {
|
|
||||||
unprotected_headers.push(header.clone());
|
|
||||||
} else if header_name == "from" {
|
} else if header_name == "from" {
|
||||||
// Unencrypted securejoin messages should _not_ include the display name:
|
// Unencrypted securejoin messages should _not_ include the display name:
|
||||||
if is_encrypted || !is_securejoin_message {
|
if is_encrypted || !is_securejoin_message {
|
||||||
|
|||||||
Reference in New Issue
Block a user