Fixed issue 191
This commit is contained in:
parent
97a4f97b64
commit
e844f4ab0c
1 changed files with 8 additions and 9 deletions
|
@ -597,7 +597,10 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||
*/
|
||||
|
||||
String text = mMessageContentView.getText().toString();
|
||||
|
||||
if (!this.mSourceMessageProcessed) {
|
||||
text = appendSignature(text);
|
||||
}
|
||||
|
||||
if (mQuotedTextBar.getVisibility() == View.VISIBLE) {
|
||||
String action = getIntent().getAction();
|
||||
String quotedText = null;
|
||||
|
@ -629,10 +632,6 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||
}
|
||||
}
|
||||
|
||||
if (!mSourceMessageProcessed) {
|
||||
text = appendSignature(text);
|
||||
}
|
||||
|
||||
TextBody body = new TextBody(text);
|
||||
|
||||
if (mAttachments.getChildCount() > 0) {
|
||||
|
@ -673,12 +672,12 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||
return message;
|
||||
}
|
||||
|
||||
private String appendSignature (String text) {
|
||||
private String appendSignature(String text) {
|
||||
String mSignature;
|
||||
mSignature = mAccount.getSignature();
|
||||
|
||||
if (mSignature != null && ! mSignature.contentEquals("")){
|
||||
text += "\n-- \n" + mAccount.getSignature();
|
||||
|
||||
if (mSignature != null && !mSignature.contentEquals("")) {
|
||||
text += "\n-----\n" + mAccount.getSignature();
|
||||
}
|
||||
|
||||
return text;
|
||||
|
|
Loading…
Reference in a new issue