From 186f6d6ba241fe47c4e7ad93f33cdc81824ebe48 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 8 Jul 2013 06:44:44 +0200 Subject: [PATCH] Don't save signature to identity header if identity doesn't use a signature --- src/com/fsck/k9/activity/MessageCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/activity/MessageCompose.java b/src/com/fsck/k9/activity/MessageCompose.java index 49c489859..5d9d3759a 100644 --- a/src/com/fsck/k9/activity/MessageCompose.java +++ b/src/com/fsck/k9/activity/MessageCompose.java @@ -1602,7 +1602,7 @@ public class MessageCompose extends K9Activity implements OnClickListener { uri.appendQueryParameter(IdentityField.MESSAGE_FORMAT.value(), mMessageFormat.name()); // If we're not using the standard identity of signature, append it on to the identity blob. - if (mSignatureChanged) { + if (mIdentity.getSignatureUse() && mSignatureChanged) { uri.appendQueryParameter(IdentityField.SIGNATURE.value(), mSignatureView.getText().toString()); }