We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a3eae commit 3ffe332Copy full SHA for 3ffe332
src/mimefactory.rs
@@ -879,6 +879,12 @@ impl MimeFactory {
879
&& !context.get_config_bool(Config::ProtectAutocrypt).await?
880
{
881
unprotected_headers.push(header.clone());
882
+ } else if is_encrypted && header_name == "date" {
883
+ protected_headers.push(header.clone());
884
+ unprotected_headers.push((
885
+ "Date",
886
+ mail_builder::headers::HeaderType::Raw("Thu, 01 Jan 1970 00:00:00 +0000".into()),
887
+ ));
888
} else if header_name == "from" {
889
// Unencrypted securejoin messages should _not_ include the display name:
890
if is_encrypted || !is_securejoin_message {
0 commit comments