Diffusion GpgOL b05416e7bc41

Restore S/MIME class after close

Authored by aheinecke on Mon, Nov 11, 4:04 PM.

Description

Restore S/MIME class after close

* src/folder-events.cpp (BeforeMove): Do not restore
the message in close as it has its own code with different
target folder.
* src/mail.cpp (Mail::close): Add new parameter restoreSMIMEClass
to restore the S/MIME message class after close.

This fixes issues, especially if a mail was opened in
a new window that the GpgOL Message class was still
left in MAPI.