commit 4b8281ea03489809ac02e601a092c1b94de2f4af
parent 0dda169e6da5f2e3d40296b29471171239a58395
Author: Paul <paul@claws-mail.org>
Date: Fri, 26 Oct 2018 13:38:19 +0100
only show warning about privacy system 'none' on replies to signed or encrypted msgs
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/compose.c b/src/compose.c
@@ -1703,7 +1703,8 @@ static Compose *compose_generic_reply(MsgInfo *msginfo,
g_free(s_system);
if (privacy_system_can_sign(compose->privacy_system) == FALSE &&
- (account->default_encrypt_reply || account->default_sign_reply))
+ ((account->default_encrypt_reply && MSG_IS_ENCRYPTED(compose->replyinfo->flags)) ||
+ (account->default_sign_reply && MSG_IS_SIGNED(compose->replyinfo->flags))))
alertpanel_error(_("You have opted to sign and/or encrypt this "
"message but have not selected a privacy system.\n\n"
"Signing and encrypting have been disabled for this "