Disable async crypt for mails without subject
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 9 Nov 2018 17:36:12 +0000 (18:36 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 9 Nov 2018 17:36:12 +0000 (18:36 +0100)
commitc921d50a3c6659c8b1ba4bc47762035be395f104
tree7d8d3d113948faa1bae3eee8dbcc0eaae687ba03
parentd27f609e7f606b6f85c483f15091fa2a5cb204ba
Disable async crypt for mails without subject

* src/mail.cpp (Mail::check_inline_response): Disable also
for empty subject.
--
For mails with an empty subject Outlook asks if the mail
should be sent anyway. If we do async crypto it also asks
on our triggered send event. In that case the overlay
blocks it. So better just disable async in that case so
that there are no two questions.

GnuPG-Bug-Id: T4150
src/mail.cpp