Keep subject for default answer

This commit is contained in:
M66B 2022-02-16 12:04:41 +01:00
parent 41b05032d7
commit a9ab6176c7
1 changed files with 2 additions and 1 deletions

View File

@ -4326,7 +4326,8 @@ public class FragmentCompose extends FragmentBase {
: db.answer().getAnswer(answer));
if (a != null) {
db.answer().applyAnswer(a.id, new Date().getTime());
data.draft.subject = a.name;
if (answer > 0)
data.draft.subject = a.name;
Document d = JsoupEx.parse(a.getHtml(null));
document.body().append(d.body().html());
}