Experiment: answer/label

This commit is contained in:
M66B
2023-03-12 18:57:41 +01:00
parent 4665640835
commit 61834ee7bd
7 changed files with 2964 additions and 2 deletions

View File

@@ -5358,6 +5358,8 @@ public class FragmentCompose extends FragmentBase {
if (a != null) {
db.answer().applyAnswer(a.id, new Date().getTime());
if (a.label != null && ref != null)
EntityOperation.queue(context, ref, EntityOperation.LABEL, a.label, true);
Document d = JsoupEx.parse(a.getHtml(context, data.draft.to));
document.body().append(d.body().html());
}