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.
- GnuPG-Bug-Id: T5812