Home GnuPG
Diffusion GpgOL bf9098d2d63d

Fix unencrypted forward of crypto mail

Description

Fix unencrypted forward of crypto mail

* src/mail.cpp (Mail::Mail): Add new marker for forwarded
crypto mails.
(Mail::remove_our_attachments): New. Removes gpgol attachments.
(Mail::set_is_forwarded_crypto_mail, Mail::is_forwarded_crypto_mail):
New accessors to marker.
* src/mailitem-events.cpp (EVENT_SINK_INVOKE): Set marker on
forward. Handle marker on write.

Details

Provenance
aheineckeAuthored on Mar 15 2018, 9:27 AM
Parents
rO7ba9dc3962fb: Avoid double gpgme_data_identify
Branches
Unknown
Tags
Unknown
Tasks
T3836: GpgOL: Forwarding crypto mails with attachments does not work