1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fixed issue 191

This commit is contained in:
Bao-Long Nguyen-Trong 2009-05-10 05:39:47 +00:00
parent 97a4f97b64
commit e844f4ab0c

View File

@ -597,6 +597,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
*/ */
String text = mMessageContentView.getText().toString(); String text = mMessageContentView.getText().toString();
if (!this.mSourceMessageProcessed) {
text = appendSignature(text);
}
if (mQuotedTextBar.getVisibility() == View.VISIBLE) { if (mQuotedTextBar.getVisibility() == View.VISIBLE) {
String action = getIntent().getAction(); String action = getIntent().getAction();
@ -629,10 +632,6 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
} }
} }
if (!mSourceMessageProcessed) {
text = appendSignature(text);
}
TextBody body = new TextBody(text); TextBody body = new TextBody(text);
if (mAttachments.getChildCount() > 0) { if (mAttachments.getChildCount() > 0) {
@ -678,7 +677,7 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
mSignature = mAccount.getSignature(); mSignature = mAccount.getSignature();
if (mSignature != null && !mSignature.contentEquals("")) { if (mSignature != null && !mSignature.contentEquals("")) {
text += "\n-- \n" + mAccount.getSignature(); text += "\n-----\n" + mAccount.getSignature();
} }
return text; return text;