mirror of https://github.com/M66B/FairEmail.git
Store drafts seen
This commit is contained in:
parent
86014ac925
commit
d6a1eb6968
|
@ -1819,6 +1819,8 @@ public class FragmentCompose extends FragmentBase {
|
||||||
draft.avatar = (lookupUri == null ? null : lookupUri.toString());
|
draft.avatar = (lookupUri == null ? null : lookupUri.toString());
|
||||||
|
|
||||||
draft.received = new Date().getTime();
|
draft.received = new Date().getTime();
|
||||||
|
draft.seen = true;
|
||||||
|
draft.ui_seen = true;
|
||||||
|
|
||||||
draft.id = db.message().insertMessage(draft);
|
draft.id = db.message().insertMessage(draft);
|
||||||
Helper.writeText(draft.getFile(context), body);
|
Helper.writeText(draft.getFile(context), body);
|
||||||
|
|
Loading…
Reference in New Issue