]> granicus.if.org Git - neomutt/commitdiff
This patch makes the view attachment menu show all
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 8 Sep 1998 19:25:01 +0000 (19:25 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 8 Sep 1998 19:25:01 +0000 (19:25 +0000)
message/rfc822 parts as a new level, not only the
multipart messages. This makes it possible to display a
message/rfc822 part which includes only a image/jpeg part
or something else which cant be viewed in the pager.
(From: Jimmy Mäkelä <jmy@flashback.net>)

recvattach.c

index a627d16c586507977f8ddbbf4e7a15147dc60ef6..4db824a1d89c4f862a06a5f437be2cb0d4fe5028 100644 (file)
@@ -120,7 +120,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY *m,
       new->level = level;
 
       /* We don't support multipart messages in the compose menu yet */
-      if (!compose && mutt_is_message_type(m->type, m->subtype) && is_multipart (m->parts))
+      if (!compose && mutt_is_message_type(m->type, m->subtype))
       {
        idx = mutt_gen_attach_list (m->parts, idx, idxlen, idxmax, level + 1, compose);
       }