1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Prevent crash

This commit is contained in:
M66B 2020-05-29 07:57:13 +02:00
parent 08009c86e1
commit 7678c5889e

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 {