1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

I have deleted a change in 0323af0.

This commit is contained in:
Koji Arai 2014-05-02 14:07:03 +09:00 committed by cketti
parent 0a09060ed7
commit 3a02bfb0a9

View File

@ -1352,7 +1352,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
* original message. * original message.
*/ */
private TextBody buildText(boolean isDraft, SimpleMessageFormat messageFormat) { private TextBody buildText(boolean isDraft, SimpleMessageFormat messageFormat) {
String messageText = mMessageContentView.getText().toString(); String messageText = mMessageContentView.getCharacters();
TextBodyBuilder textBodyBuilder = new TextBodyBuilder(messageText); TextBodyBuilder textBodyBuilder = new TextBodyBuilder(messageText);
@ -1374,9 +1374,11 @@ public class MessageCompose extends K9Activity implements OnClickListener,
textBodyBuilder.setQuotedTextHtml(mQuotedHtmlContent); textBodyBuilder.setQuotedTextHtml(mQuotedHtmlContent);
textBodyBuilder.setReplyAfterQuote(isReplyAfterQuote); textBodyBuilder.setReplyAfterQuote(isReplyAfterQuote);
} }
if (messageFormat == SimpleMessageFormat.TEXT) {
String quotedText = mQuotedText.getCharacters();
if (messageFormat == SimpleMessageFormat.TEXT && quotedText.length() > 0) {
textBodyBuilder.setIncludeQuotedText(true); textBodyBuilder.setIncludeQuotedText(true);
textBodyBuilder.setQuotedText(mQuotedText.getText().toString()); textBodyBuilder.setQuotedText(quotedText);
textBodyBuilder.setReplyAfterQuote(isReplyAfterQuote); textBodyBuilder.setReplyAfterQuote(isReplyAfterQuote);
} }
} }