X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=8f23cea23129108e7abf3985950f65bb43eed225;hp=c500862d36000428284adcec942513911c170e34;hb=fbe3c38655d4eaf0e263ec4cfa7e206174152748;hpb=5d21d5ea0c6d2113aab9eb7f29463b09e7eacca5 diff --git a/notmuch-reply.c b/notmuch-reply.c index c500862d..8f23cea2 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -98,6 +98,11 @@ reply_part_content (GMimeObject *part) { /* Output nothing, since multipart subparts will be handled individually. */ } + else if (g_mime_content_type_is_type (content_type, "application", "pgp-encrypted") || + g_mime_content_type_is_type (content_type, "application", "pgp-signature")) + { + /* Ignore PGP/MIME cruft parts */ + } else if (g_mime_content_type_is_type (content_type, "text", "*") && !g_mime_content_type_is_type (content_type, "text", "html")) {