fix: use protected Date header for signed messages

This commit is contained in:
link2xt
2025-03-11 05:40:17 +00:00
parent 0931d9326e
commit ef008d4ca0
2 changed files with 30 additions and 1 deletions

View File

@@ -264,7 +264,7 @@ impl MimeMessage {
// messages are shown as unencrypted anyway.
timestamp_sent =
Self::get_timestamp_sent(&mail.headers, timestamp_sent, timestamp_rcvd);
Self::get_timestamp_sent(&part.headers, timestamp_sent, timestamp_rcvd);
MimeMessage::merge_headers(
context,
&mut headers,