From 81c11f2fe4a0b07795ec09d8585ca3840362ae5f Mon Sep 17 00:00:00 2001 From: hiro Date: Tue, 24 Jan 2006 10:16:00 +0000 Subject: force attaching of specific types on forwarding even if filename is unspecified. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@924 ee746299-78ed-0310-b773-934348b2243d --- src/compose.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compose.c') 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; -- cgit v1.2.3