mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
mimeparser: do not squash NDN text parts into attachments
Text part usually contains an error message that we want to display in the UI.
This commit is contained in:
@@ -535,7 +535,9 @@ impl MimeMessage {
|
||||
self.parse_system_message_headers(context);
|
||||
self.parse_avatar_headers(context).await;
|
||||
self.parse_videochat_headers();
|
||||
self.squash_attachment_parts();
|
||||
if self.failure_report.is_none() {
|
||||
self.squash_attachment_parts();
|
||||
}
|
||||
|
||||
if let Some(ref subject) = self.get_subject() {
|
||||
let mut prepend_subject = true;
|
||||
|
||||
Reference in New Issue
Block a user