]> granicus.if.org Git - neomutt/commitdiff
Don't refuse to delete attachments just because a message has been checked
authorTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
Sat, 30 Jul 2005 03:59:04 +0000 (03:59 +0000)
committerTAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
Sat, 30 Jul 2005 03:59:04 +0000 (03:59 +0000)
for "traditional" PGP encoding. (closes #2013)

recvattach.c

index 27cf94b41ef6150cedbd9ade47969d26736f938c..c1653d9bbcce6f3eec672521021218fc9f4c1a6b 100644 (file)
@@ -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.");