Ignore temporary recipient resolve errors
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 6 Sep 2018 08:25:40 +0000 (10:25 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 6 Sep 2018 08:25:40 +0000 (10:25 +0200)
commit3c0a66e402e84c0f8c5db4d2219eb8da6e5c0cac
treec723d343fc80a257bb27f7decccee0580ff1533e
parent4384758e839e816033c07e78bbec1842af076793
Ignore temporary recipient resolve errors

* src/cryptocontroller.cpp (CryptController::resolve_keys):
Add unlikely error handling if recipients could not be resolved here.
* src/mail.cpp (Mail::getRecipients_o): Ignore error when
getting recipients.

--
When editing the recipients of a draft Outlook still has an
recipient object for the former recipient but does not provide
properties on it. So the address resolution fails. We can
treat the mail as having no recipients and only have a
fatal error if we can't resolve recipients in the cryptcontroller.

GnuPG-Bug-Id: T4129
src/cryptcontroller.cpp
src/mail.cpp