Ignore "application/pgp-*" parts in reply.

The quoted text doesn't need to mention that the message being replied
to had these crufty parts.
This commit is contained in:
Jameson Graef Rollins 2011-06-08 12:30:09 -07:00 committed by David Bremner
parent 5d21d5ea0c
commit fbe3c38655

View file

@ -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"))
{