Diffusion GpgOL c499ce50aa9f

Fix reversion for S/MIME mails if S/MIME disabled

Authored by aheinecke on Nov 10 2017, 5:56 PM.

Description

Fix reversion for S/MIME mails if S/MIME disabled

* src/mailitem-events.cpp (EVENT_SINK_INVOKE): Revert
again if S/MIME is disabled but we parsed the mail.

While reversion is no longer neccessary for crypto mails
to hide the plaintext we still might need it to change
the message class back. And wiping the body etc. is also
a good idea when we "leave a mail alone"

Details