Get/update full body on send

This commit is contained in:
M66B
2019-01-13 08:12:47 +00:00
parent 7e9068eeaf
commit 6eda79aa83
3 changed files with 10 additions and 7 deletions

View File

@@ -1812,6 +1812,13 @@ public class ServiceSynchronize extends LifecycleService {
EntityLog.log(this, "Sent via " + ident.host + "/" + ident.user +
" to " + TextUtils.join(", ", to));
if (message.replying != null || message.forwarding != null) {
String html = message.read(ServiceSynchronize.this);
html += HtmlHelper.getQuote(ServiceSynchronize.this,
message.replying == null ? message.forwarding : message.replying, false);
message.write(ServiceSynchronize.this, html);
}
try {
db.beginTransaction();