mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Prevent crash
This commit is contained in:
parent
08009c86e1
commit
7678c5889e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue