Fixed checking reference

pull/172/head 1.909
M66B 5 years ago
parent 1edbf4c358
commit 4368957dea

@ -3592,8 +3592,9 @@ public class FragmentCompose extends FragmentBase {
if (TextUtils.isEmpty(draft.subject))
args.putBoolean("remind_subject", true);
File refFile = draft.getRefFile(context);
if (empty && !refFile.exists())
Document d = JsoupEx.parse(body);
if (empty && d.select("div[fairemail=reference]").isEmpty())
args.putBoolean("remind_text", true);
int attached = 0;
@ -3609,7 +3610,6 @@ public class FragmentCompose extends FragmentBase {
for (String text : Helper.getStrings(context, R.string.title_attachment_keywords))
keywords.addAll(Arrays.asList(text.split(",")));
Document d = JsoupEx.parse(body);
d.select("div[fairemail=signature]").remove();
d.select("div[fairemail=reference]").remove();
String text = d.text();

Loading…
Cancel
Save