diff options
Diffstat (limited to 'src/compose.c')
-rw-r--r-- | src/compose.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compose.c b/src/compose.c index 7cc78c65..6df784aa 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1986,7 +1986,8 @@ static void compose_attach_parts(Compose *compose, MsgInfo *msginfo) child = procmime_mimeinfo_next(child)) { if (child->children || child->mime_type == MIME_MULTIPART) continue; - if (!child->filename && !child->name) + if (child->mime_type != MIME_MESSAGE_RFC822 && + !child->filename && !child->name) continue; outfile = procmime_get_tmp_file_name(child); |