Fixed edge case when switching idenity

This commit is contained in:
M66B 2019-02-05 09:07:47 +00:00
parent ad938572c3
commit 6e80de2df6
1 changed files with 1 additions and 0 deletions

View File

@ -1945,6 +1945,7 @@ public class FragmentCompose extends FragmentBase {
draft.msgid = EntityMessage.generateMessageId(); draft.msgid = EntityMessage.generateMessageId();
draft.content = true; draft.content = true;
draft.ui_hide = false; draft.ui_hide = false;
EntityOperation.queue(context, db, draft, EntityOperation.ADD);
} }
List<EntityAttachment> attachments = db.attachment().getAttachments(draft.id); List<EntityAttachment> attachments = db.attachment().getAttachments(draft.id);