mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Fixed loading draft without uid
This commit is contained in:
parent
4394843878
commit
b1794c6086
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue