Fixed sending messages

This commit is contained in:
M66B 2018-08-21 16:29:52 +00:00
parent 8c7d0efb8c
commit b45387bfa1
1 changed files with 1 additions and 0 deletions

View File

@ -914,6 +914,7 @@ public class FragmentCompose extends FragmentEx {
draft.msgid = msgid;
draft.ui_hide = false;
draft.id = db.message().insertMessage(draft);
draft.write(getContext(), body);
// Restore attachments
for (EntityAttachment attachment : attachments) {