Fixed loading draft without uid

This commit is contained in:
M66B 2020-09-04 20:49:53 +02:00
parent 4394843878
commit b1794c6086
1 changed files with 1 additions and 1 deletions

View File

@ -3796,7 +3796,7 @@ public class FragmentCompose extends FragmentBase {
File file = data.draft.getFile(context);
Document doc = (data.draft.uid == null ? Document.createShell("") : JsoupEx.parse(file));
Document doc = (data.draft.content ? JsoupEx.parse(file) : Document.createShell(""));
doc.select("div[fairemail=signature]").remove();
Elements ref = doc.select("div[fairemail=reference]");
ref.remove();