Factor out activeInlineResponse in own function
authorAndre Heinecke <aheinecke@gnupg.org>
Fri, 12 Apr 2019 07:43:55 +0000 (09:43 +0200)
committerAndre Heinecke <aheinecke@gnupg.org>
Fri, 12 Apr 2019 07:43:55 +0000 (09:43 +0200)
commit7c7c0788672b4c60e2452823d32f9ac637f5e5fd
tree05b42c0c697e44fc4182e677945aa6ea6805c9e8
parentd7c38b4439c376185c46ebd3b0fdc7c82ead641e
Factor out activeInlineResponse in own function

* src/mail.cpp (Mail::isActiveInlineResponse_o): New. checks
if a mail is the inline response.
(Mail::checkSyncCrypto_o): New. Explicitly checks if sync
crypto is needed.
* src/mail.h: Update accordingly.
src/mail.cpp
src/mail.h