commit 1fef5ee2e6f68d025048cd43a0ae26bd8e85c28e
parent f3e983117a19000ad623f2c6f44bb8d3dfb3df03
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
@@ -1692,7 +1692,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 "