mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 14:11:00 +00:00
Fixed send at with delay sending
This commit is contained in:
parent
d2737219e0
commit
18dcc788b5
1 changed files with 1 additions and 1 deletions
|
@ -2682,7 +2682,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
// Delay sending message
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
int send_delayed = prefs.getInt("send_delayed", 0);
|
||||
if (send_delayed != 0) {
|
||||
if (draft.ui_snoozed == null && send_delayed != 0) {
|
||||
draft.ui_snoozed = new Date().getTime() + send_delayed * 1000L;
|
||||
db.message().setMessageSnoozed(draft.id, draft.ui_snoozed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue