aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 29e55d3cc5..b3f9b9a344 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -743,6 +743,7 @@ int em_format_is_attachment(EMFormat *emf, CamelMimePart *part)
/*printf("checking is attachment %s/%s\n", ct->type, ct->subtype);*/
return !(camel_content_type_is (dw->mime_type, "multipart", "*")
|| camel_content_type_is(dw->mime_type, "application", "x-pkcs7-mime")
+ || camel_content_type_is(dw->mime_type, "application", "pkcs7-mime")
|| (camel_content_type_is (dw->mime_type, "text", "*")
&& camel_mime_part_get_filename(part) == NULL));
}