diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-06-08 12:30:09 -0700 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-10-06 10:13:51 -0300 |
commit | fbe3c38655d4eaf0e263ec4cfa7e206174152748 (patch) | |
tree | fb3b678cf7c4ab6ad63db55caa8a41f0e6553c69 /notmuch-reply.c | |
parent | 5d21d5ea0c6d2113aab9eb7f29463b09e7eacca5 (diff) |
Ignore "application/pgp-*" parts in reply.
The quoted text doesn't need to mention that the message being replied
to had these crufty parts.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r-- | notmuch-reply.c | 5 |
1 files changed, 5 insertions, 0 deletions
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")) { |