1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Don't save signature to identity header if identity doesn't use a signature

This commit is contained in:
cketti 2013-07-08 06:44:44 +02:00
parent 120dcd3147
commit 186f6d6ba2

View File

@ -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());
}