Prevent crash

pull/184/head
M66B 4 years ago
parent e6de5eadcd
commit e0da326bcb

@ -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");

Loading…
Cancel
Save