From: TAKAHASHI Tamotsu Date: Sat, 30 Jul 2005 03:59:04 +0000 (+0000) Subject: Don't refuse to delete attachments just because a message has been checked X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e767f966bdae750425b8f50e63bd424332d3f550;p=neomutt Don't refuse to delete attachments just because a message has been checked for "traditional" PGP encoding. (closes #2013) --- diff --git a/recvattach.c b/recvattach.c index 27cf94b41..c1653d9bb 100644 --- a/recvattach.c +++ b/recvattach.c @@ -1069,7 +1069,7 @@ void mutt_view_attachments (HEADER *hdr) } #endif - if (WithCrypto && hdr->security) + if (WithCrypto && hdr->security & ~PGP_TRADITIONAL_CHECKED) { mutt_message _( "Deletion of attachments from encrypted messages is unsupported.");