mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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:
parent
5d21d5ea0c
commit
fbe3c38655
1 changed files with 5 additions and 0 deletions
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue