Prevent crash

pull/180/head
M66B 4 years ago
parent 08009c86e1
commit 7678c5889e

@ -440,7 +440,8 @@ public class ServiceSend extends ServiceBase {
MessageHelper.MessageParts parts = helper.getMessageParts();
String body = parts.getHtml(this);
if (parts.isPlainOnly())
Boolean plain = parts.isPlainOnly();
if (plain != null && plain)
body = body.replace("<div x-plain=\"true\">", "<div>");
try {

Loading…
Cancel
Save