Commit c54706e9 authored by Laurent Montel's avatar Laurent Montel 😁

Make sure to sign/encrypt message when we send later

(cherry picked from commit 4048f5e4)
parent 12ab5643
......@@ -468,7 +468,7 @@ void MessageComposer::ComposerViewBase::slotEmailAddressResolved(KJob *job)
// if so, we create a composer per format
// if we aren't signing or encrypting, this just returns a single empty message
bool wasCanceled = false;
if (m_neverEncrypt && mSaveIn != MessageComposer::MessageSender::SaveInNone) {
if (m_neverEncrypt && mSaveIn != MessageComposer::MessageSender::SaveInNone && !mSendLaterInfo) {
MessageComposer::Composer *composer = new MessageComposer::Composer;
composer->setNoCrypto(true);
m_composers.append(composer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment