The quoted text doesn't need to mention that the message being replied
to had these crufty parts.
---
 notmuch-reply.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/notmuch-reply.c b/notmuch-reply.c
index 7a76ba3..0eb295e 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"))
     {
-- 
1.7.5.3

Reply via email to