Refactoring

This commit is contained in:
M66B 2020-04-12 17:10:37 +02:00
parent ecb7e4a174
commit f0815b2f41
1 changed files with 3 additions and 3 deletions

View File

@ -3504,13 +3504,13 @@ public class FragmentCompose extends FragmentBase {
Document document = HtmlHelper.sanitizeCompose(context, doc.html(), true);
for (Element e : ref)
document.body().appendChild(e);
EntityIdentity identity = null;
if (data.draft.identity != null)
identity = db.identity().getIdentity(data.draft.identity);
for (Element e : ref)
document.body().appendChild(e);
addSignature(context, document, data.draft, identity);
String html = document.html();