aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/em-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/em-format.c')
-rw-r--r--em-format/em-format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index dc20ac596d..1d0c60161a 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1136,6 +1136,8 @@ em_format_is_attachment (EMFormat *emf,
|| camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-signed")
|| camel_content_type_is(dw->mime_type, "application", "x-inlinepgp-encrypted")
|| camel_content_type_is(dw->mime_type, "x-evolution", "evolution-rss-feed")
+ || camel_content_type_is(dw->mime_type, "text", "calendar")
+ || camel_content_type_is(dw->mime_type, "text", "x-calendar")
|| (camel_content_type_is (dw->mime_type, "text", "*")
&& camel_mime_part_get_filename (part) == NULL));
}