Home GnuPG
Diffusion GpgOL f544b4f1ccf3

Fix draft re-encryption on close

Description

Fix draft re-encryption on close

* src/mail.cpp (Mail::updateOOMData_o): Reset pass write after
write in case the mail stays open after encryption.
* src/mailitem-events.cpp (BeforeAutoSave): Fix draft encryption
for autosave.
* NEWS: Mention this.

This fixes the draft encryption for autosave and ensure
that after re-encryption and the following decryption
the mail is not marked for writing.

Details

Provenance
aheineckeAuthored on Feb 3 2022, 12:07 PM
Parents
rOa907038d04d4: Fix draft re-encryption
Branches
Unknown
Tags
Unknown
Tasks
T5812: GpgOL: Draft encryption after modification no longer works