Store drafts seen

This commit is contained in:
M66B 2019-04-04 15:48:30 +02:00
parent 86014ac925
commit d6a1eb6968
1 changed files with 2 additions and 0 deletions

View File

@ -1819,6 +1819,8 @@ public class FragmentCompose extends FragmentBase {
draft.avatar = (lookupUri == null ? null : lookupUri.toString());
draft.received = new Date().getTime();
draft.seen = true;
draft.ui_seen = true;
draft.id = db.message().insertMessage(draft);
Helper.writeText(draft.getFile(context), body);