Home GnuPG
Diffusion GpgOL 17350ecec751

Add for_encryption parameter to updateOOMData

Description

Add for_encryption parameter to updateOOMData

* src/mail.cpp (Mail::updateOOMData_o): Add for_encryption parameter.
(Mail::prepareEncrypt_o): Use it.

Now that we need to send encrypted drafts we can no longer
rely on isCryptoMail to determine if we are reading or writing
a mail.

Details

Provenance
aheineckeAuthored on Apr 11 2019, 2:39 PM
Parents
rO63dc1d8b5c62: Do not store modified drafts if decrypt failed
Branches
Unknown
Tags
Unknown