Repair encrypted mails turned into attachments

Google Workspace has an option "Append footer" which appends standard
footer defined by administrator to all outgoing messages. However,
there is no plain text part in encrypted messages sent by Delta Chat,
so Google Workspace turn the message into multipart/mixed MIME, where
the first part is an empty plaintext part with a footer and the second
part is the original encrypted message.

This commit makes Delta Chat attempt to repair such messages,
similarly to how it already repairs "Mixed Up" MIME structure in
`get_mixed_up_mime`.
This commit is contained in:
link2xt
2022-05-13 21:50:52 +00:00
parent a9f707c398
commit 715664273b
3 changed files with 127 additions and 3 deletions

View File

@@ -22,6 +22,9 @@
### Removed
- node: remove unmaintained coverage scripts
### Fixes
- repair encrypted mails "mixed up" by Google Workspace "Append footer" function #3315
## 1.80.0