mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Fixed issue 191
This commit is contained in:
parent
97a4f97b64
commit
e844f4ab0c
@ -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) {
|
||||||
@ -673,12 +672,12 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String appendSignature (String text) {
|
private String appendSignature(String text) {
|
||||||
String mSignature;
|
String mSignature;
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user