Reply/forward original message

This commit is contained in:
M66B
2018-12-14 12:04:50 +01:00
parent dd97f7c6f8
commit ae9d35c084
6 changed files with 69 additions and 27 deletions

View File

@@ -293,7 +293,8 @@ public class MessageHelper {
}
if (message.replying != null || message.forwarding != null)
body += EntityMessage.getQuote(context, message.replying == null ? message.forwarding : message.replying);
body += HtmlHelper.getQuote(context,
message.replying == null ? message.forwarding : message.replying, false);
BodyPart plain = new MimeBodyPart();
plain.setContent(Jsoup.parse(body).text(), "text/plain; charset=" + Charset.defaultCharset().name());