[neomutt-devel] [PATCH] Allow crypto operations in batch mode.

Alejandro Colomar alx at kernel.org
Mon Nov 6 18:38:33 CET 2023


Signed-off-by: Alejandro Colomar <alx at kernel.org>
---
 send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/send.c b/send.c
index 21ecf041..642b2bb4 100644
--- a/send.c
+++ b/send.c
@@ -2254,7 +2254,7 @@ static int send_message_resume_first_edit (SEND_CONTEXT *sctx)
    * This is done after allowing the user to edit the message so that security
    * settings can be configured with send2-hook and $edit_headers.
    */
-  if (WithCrypto && (sctx->msg->security == 0) && !(sctx->flags & (SENDBATCH | SENDMAILX | SENDPOSTPONED | SENDRESEND)))
+  if (WithCrypto && (sctx->msg->security == 0) && !(sctx->flags & (SENDPOSTPONED | SENDRESEND)))
   {
     if (
 #ifdef USE_AUTOCRYPT
-- 
2.42.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20231106/4f08b535/attachment.sig>


More information about the neomutt-devel mailing list