diff options
author | 2015-03-09 22:33:29 -0700 | |
---|---|---|
committer | 2015-03-09 22:33:37 -0700 | |
commit | af9bbf947306e9b792429d69010b8fc27ea7001e (patch) | |
tree | b4074318038ed8e367b09993be71156169a3a69e /src/core/rfc822/MCAttachment.cpp | |
parent | a3959cc57349176d5e869029342ddfd2576eedc6 (diff) |
#874: render message properly when the first part is a .txt attachment
Diffstat (limited to 'src/core/rfc822/MCAttachment.cpp')
-rw-r--r-- | src/core/rfc822/MCAttachment.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/rfc822/MCAttachment.cpp b/src/core/rfc822/MCAttachment.cpp index 99f3caa0..0968ad83 100644 --- a/src/core/rfc822/MCAttachment.cpp +++ b/src/core/rfc822/MCAttachment.cpp @@ -589,6 +589,9 @@ Attachment * Attachment::attachmentWithSingleMIME(struct mailmime * mime) if (single_fields.fld_disposition->dsp_type->dsp_type == MAILMIME_DISPOSITION_TYPE_INLINE) { result->setInlineAttachment(true); } + else if (single_fields.fld_disposition->dsp_type->dsp_type == MAILMIME_DISPOSITION_TYPE_ATTACHMENT) { + result->setAttachment(true); + } } } |