From a38acf4247f8c2e87757484c855882f37d375dd2 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 13 Aug 2021 13:04:42 +0200 Subject: [PATCH] Update sent time on saving draft --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index b23bc8200f..37881e102d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -5301,7 +5301,9 @@ public class FragmentCompose extends FragmentBase { if (dirty) { draft.received = new Date().getTime(); + draft.sent = draft.received; db.message().setMessageReceived(draft.id, draft.received); + db.message().setMessageSent(draft.id, draft.sent); } // Execute action