Fix forwarding of sent mails
authorAndre Heinecke <aheinecke@gnupg.org>
Mon, 14 Jan 2019 09:15:25 +0000 (10:15 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Mon, 14 Jan 2019 09:15:25 +0000 (10:15 +0100)
commitcf221afd9d59b803338206544927116c6ca01259
tree41a61cf1dcf36865a83df4992af765cae4c607a3
parenta31338698ae7002f9e9cbc87a8a8aa3dbd3ae0c7
Fix forwarding of sent mails

* src/cryptcontroller.cpp (CryptController::update_mail_mapi):
Remove an existing MOSSTMPL if available.

--
Without this the MOSSTMPL was kept and we then had two
or more MOSSTMPLs. This resulted in undefined / buggy
behavior.

GnuPG-Bug-Id: T4321
src/cryptcontroller.cpp