aboutsummaryrefslogtreecommitdiff
path: root/src/compose.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 10:16:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 10:16:00 +0000
commit81c11f2fe4a0b07795ec09d8585ca3840362ae5f (patch)
tree37daa79753d5d94a3f71822ffa6a3741d1a1b6ca /src/compose.c
parentad3984cf17c8114eb7215d91421a3cd8a99e1563 (diff)
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
Diffstat (limited to 'src/compose.c')
-rw-r--r--src/compose.c3
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;