X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-reply.c;h=8f23cea23129108e7abf3985950f65bb43eed225;hb=fbe3c38655d4eaf0e263ec4cfa7e206174152748;hp=c500862d36000428284adcec942513911c170e34;hpb=c75410fd81878ccb9f3fa3878507e5650de5fa3f;p=notmuch 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")) {