Simplification

pull/147/head
M66B 6 years ago
parent bbc8b8259c
commit f0aacbe476

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

Loading…
Cancel
Save