Home GnuPG
Diffusion GpgOL b527d97b06c6

Preselect sign / encrypt for reply / forward
b527d97b06c6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Preselect sign / encrypt for reply / forward

* src/mail.cpp (Mail::Mail): Initalize crypto flags.
(Mail::get_crypto_flags): New.
(Mail::parsing_done): Set crypto flags.
* src/mailitem-events.cpp (EVENT_SINK_INVOKE): Handle reply, forward
and ReplyAll.

This sets sign for signed mails, encrypt for encrypted mails
and sign & encrypt for signed and encrypted mails.

Details

Provenance
aheineckeAuthored on Dec 1 2016, 5:37 PM
Parents
rO5e58582a83da: Fix Reply event ID
Branches
Unknown
Tags
Unknown