Template or external body

pull/194/merge
M66B 3 years ago
parent 612fb01c07
commit 13fbd25875

@ -4328,8 +4328,10 @@ public class FragmentCompose extends FragmentBase {
db.answer().applyAnswer(a.id, new Date().getTime()); db.answer().applyAnswer(a.id, new Date().getTime());
if (answer > 0) if (answer > 0)
data.draft.subject = a.name; data.draft.subject = a.name;
Document d = JsoupEx.parse(a.getHtml(null)); if (TextUtils.isEmpty(external_body)) {
document.body().append(d.body().html()); Document d = JsoupEx.parse(a.getHtml(null));
document.body().append(d.body().html());
}
} }
data.draft.signature = prefs.getBoolean("signature_new", true); data.draft.signature = prefs.getBoolean("signature_new", true);

Loading…
Cancel
Save