fix: Save mime headers for messages not signed with a known key (#4557)

If a message is unsigned or signed with an unknown key, `MimeMessage::was_encrypted()` returns
false. So, it mustn't be checked when deciding whether to look into
`MimeMessage::decoded_data`. Looking through git history one can see that it's just a wrong check
left in the code for historical reasons.
This commit is contained in:
iequidoo
2023-08-30 22:25:29 -03:00
committed by iequidoo
parent 03d3e0578f
commit 47d465e6e4
3 changed files with 1472 additions and 6 deletions

File diff suppressed because it is too large Load Diff