]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
notmuch show: Include output for the enclosing multipart part of a MIME mail
[notmuch] / notmuch-show.c
index ef421ec7cc382ea6e3dbe188c50d1140423b6f30..c8771520922dc5521523ec8209f9410b97589dc3 100644 (file)
@@ -410,6 +410,11 @@ format_part_text (GMimeObject *part, int *part_count)
        show_part_content (part, stream_stdout);
        g_object_unref(stream_stdout);
     }
+    else if (g_mime_content_type_is_type (content_type, "multipart", "*"))
+    {
+       /* Do nothing for multipart since its content will be printed
+        * when recursing. */
+    }
     else
     {
        printf ("Non-text part: %s\n",