aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
Diffstat (limited to 'em-format')
-rw-r--r--em-format/e-mail-parser-text-plain.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/em-format/e-mail-parser-text-plain.c b/em-format/e-mail-parser-text-plain.c
index 1795d019a9..bc527e4fe4 100644
--- a/em-format/e-mail-parser-text-plain.c
+++ b/em-format/e-mail-parser-text-plain.c
@@ -98,7 +98,14 @@ process_part (EMailParser *parser,
}
type = camel_mime_part_get_content_type (part);
- if (!camel_content_type_is (type, "text", "calendar")) {
+ if (!camel_content_type_is (type, "text", "*")) {
+
+ parts = e_mail_parser_parse_part (
+ parser, CAMEL_MIME_PART (part),
+ part_id, cancellable);
+ return parts;
+
+ } else if (!camel_content_type_is (type, "text", "calendar")) {
g_string_append_printf (part_id, ".plain_text.%d", part_number);