diff options
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/mime_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c index 3dbe5cb71..1153a54c7 100644 --- a/src/libmime/mime_parser.c +++ b/src/libmime/mime_parser.c @@ -436,7 +436,8 @@ rspamd_mime_parse_normal_part (struct rspamd_task *task, g_assert (part != NULL); - rspamd_mime_part_get_cte (task, part->raw_headers, part, TRUE); + rspamd_mime_part_get_cte (task, part->raw_headers, part, + !(part->ct->flags & RSPAMD_CONTENT_TYPE_MESSAGE)); rspamd_mime_part_get_cd (task, part); switch (part->cte) { |