Quote only on replying

This commit is contained in:
M66B 2019-09-20 21:43:13 +02:00
parent be76818f6a
commit ca352356ec
1 changed files with 4 additions and 1 deletions

View File

@ -2305,7 +2305,10 @@ public class FragmentCompose extends FragmentBase {
}
}
String refBody = String.format("<p>%s %s:</p>\n<blockquote>%s</blockquote>",
if ("reply".equals(action) || "reply_all".equals(action))
refText = "<blockquote>" + refText + "</blockquote>";
String refBody = String.format("<p>%s %s:</p>\n%s",
Html.escapeHtml(new Date(ref.received).toString()),
Html.escapeHtml(MessageHelper.formatAddresses(ref.from)),
refText);