mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Prevent crash
This commit is contained in:
@@ -1998,7 +1998,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
embedded.subject = helper.getSubject();
|
||||
|
||||
String html = parts.getHtml(context);
|
||||
Document d = JsoupEx.parse(html);
|
||||
Document d = (html == null ? Document.createShell("") : JsoupEx.parse(html));
|
||||
|
||||
Element div = document.createElement("div");
|
||||
div.appendElement("hr");
|
||||
|
||||
Reference in New Issue
Block a user