Prevent crash

This commit is contained in:
M66B 2020-05-29 07:57:13 +02:00
parent 08009c86e1
commit 7678c5889e
1 changed files with 2 additions and 1 deletions

View File

@ -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 {