diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compose.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compose.c b/src/compose.c index 071cbd7b..4163a7f4 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1987,6 +1987,9 @@ static void compose_attach_parts(Compose *compose, MsgInfo *msginfo) if (child->children || child->mime_type == MIME_MULTIPART) goto next; if (child->mime_type != MIME_MESSAGE_RFC822 && + child->mime_type != MIME_IMAGE && + child->mime_type != MIME_AUDIO && + child->mime_type != MIME_VIDEO && !child->filename && !child->name) goto next; |