Home GnuPG
Diffusion GpgOL 3b25c803cf70

Add revert to mail class and use it instead wipe
3b25c803cf70Unpublished

Unpublished Commit · Learn More

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

Description

Add revert to mail class and use it instead wipe

* src/mail.cpp (Mail::revert_all_mails, Mail::revert): New.
* src/mail.h: Update accordingly.
* src/mailitem-events.cpp (MailitemEvents::Invoke): Revert instead
  of wipe.

The wipe code remains intact for now. If we find out that reverting
is the wrong approach we can fall back to wipining again by changing
the call in mailitem-events.

For now most messages will be wiped anyway as revert is only
supported for PGPMESSAGE messages.

Details

Provenance
aheineckeAuthored on Dec 1 2015, 3:54 PM
Parents
rOd456bff70871: Add mail revert implementation that works on OOM
Branches
Unknown
Tags
Unknown