]> granicus.if.org Git - mutt/commitdiff
Enabled writing protected subject with autocrypt too.
authorKevin McCarthy <kevin@8t8.us>
Thu, 8 Aug 2019 16:18:53 +0000 (09:18 -0700)
committerKevin McCarthy <kevin@8t8.us>
Thu, 8 Aug 2019 16:18:53 +0000 (09:18 -0700)
crypt.c

diff --git a/crypt.c b/crypt.c
index 1d5f9c5f7202998ca7b757eb3b9d7f98e0a9edcb..7eff2d19e963db3c5ac8586a8c2b9f8f9a412509 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -974,7 +974,7 @@ static void crypt_fetch_signatures (BODY ***signatures, BODY *a, int *n)
 int mutt_should_hide_protected_subject (HEADER *h)
 {
   if (option (OPTCRYPTPROTHDRSWRITE) &&
-      (h->security & ENCRYPT) &&
+      (h->security & (ENCRYPT | AUTOCRYPT)) &&
       !(h->security & INLINE) &&
       ProtHdrSubject)
     return 1;