File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,13 @@ impl MimeMessage {
345
345
}
346
346
347
347
decrypted_msg = Some ( msg) ;
348
+
349
+ timestamp_sent = Self :: get_timestamp_sent (
350
+ & decrypted_mail. headers ,
351
+ timestamp_sent,
352
+ timestamp_rcvd,
353
+ ) ;
354
+
348
355
if let Some ( protected_aheader_value) = decrypted_mail
349
356
. headers
350
357
. get_header_value ( HeaderDef :: Autocrypt )
@@ -416,8 +423,6 @@ impl MimeMessage {
416
423
content
417
424
} ) ;
418
425
if let ( Ok ( mail) , true ) = ( mail, encrypted) {
419
- timestamp_sent =
420
- Self :: get_timestamp_sent ( & mail. headers , timestamp_sent, timestamp_rcvd) ;
421
426
if !signatures. is_empty ( ) {
422
427
// Remove unsigned opportunistically protected headers from messages considered
423
428
// Autocrypt-encrypted / displayed with padlock.
You can’t perform that action at this time.
0 commit comments