From: Kevin McCarthy Date: Thu, 8 Aug 2019 16:18:53 +0000 (-0700) Subject: Enabled writing protected subject with autocrypt too X-Git-Tag: 2019-10-25~97^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=905c982fbeb92d99eb59167c31af4dd9290da640;p=neomutt Enabled writing protected subject with autocrypt too Co-authored-by: Richard Russon --- diff --git a/ncrypt/crypt.c b/ncrypt/crypt.c index 3037dc399..83df4a562 100644 --- a/ncrypt/crypt.c +++ b/ncrypt/crypt.c @@ -1081,7 +1081,7 @@ static void crypt_fetch_signatures(struct Body ***signatures, struct Body *a, in */ bool mutt_should_hide_protected_subject(struct Email *e) { - if (C_CryptProtectedHeadersWrite && (e->security & SEC_ENCRYPT) && + if (C_CryptProtectedHeadersWrite && (e->security & (SEC_ENCRYPT | SEC_AUTOCRYPT)) && !(e->security & SEC_INLINE) && C_CryptProtectedHeadersSubject) { return true;