]> granicus.if.org Git - neomutt/commit
Change $postpone_encrypt to use self-encrypt variables first.
authorKevin McCarthy <kevin@8t8.us>
Mon, 29 May 2017 18:48:43 +0000 (11:48 -0700)
committerRichard Russon <rich@flatcap.org>
Thu, 1 Jun 2017 14:27:02 +0000 (15:27 +0100)
commit554d5d5600f312e82dbcf925caf6fa600f4476d7
tree9657db9974e0dc09f05a46008788c5370c308652
parent2c51035979c527a79ee90a619e77be5c9a3cc796
Change $postpone_encrypt to use self-encrypt variables first.

The concept of postpone encryption is similar to self-encrypting on
send.  The problem is the $postpone_encrypt_as option doesn't take
into account whether PGP or S/MIME is being used.

Since we need to add the new options for self-encryption, modify
$postpone_encrypt to use them by default instead, falling back to
$postpone_encrypt_as if they are unset.  Note $postpone_encrypt_as is
deprecated in the documentation.
init.h
send.c