Commit 737411e0 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

use m_encrypt instead of m_sign for encryption.

parent 4192cca1
......@@ -327,7 +327,7 @@ void ComposerViewBase::send(MessageComposer::MessageSender::SendMethod method, M
// we can't use the state of the mail itself, to remember the
// signing and encryption state, so let's add a header instead
DraftSignatureState(m_msg).setState(m_sign);
DraftEncryptionState(m_msg).setState(m_sign);
DraftEncryptionState(m_msg).setState(m_encrypt);
DraftCryptoMessageFormatState(m_msg).setState(m_cryptoMessageFormat);
} else {
removeDraftCryptoHeaders(m_msg);
......
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