mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Sent message automatically ...
This commit is contained in:
parent
daabe8c6c0
commit
19ce2783f1
1 changed files with 7 additions and 4 deletions
|
@ -3597,10 +3597,13 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
ServiceSynchronize.eval(context, "compose/action");
|
||||
|
||||
if (action == R.id.action_send && draft.ui_snoozed != null) {
|
||||
Log.i("Delayed send id=" + draft.id + " at " + new Date(draft.ui_snoozed));
|
||||
EntityMessage.snooze(context, draft.id, draft.ui_snoozed);
|
||||
}
|
||||
if (action == R.id.action_send)
|
||||
if (draft.ui_snoozed == null)
|
||||
ServiceSend.start(context);
|
||||
else {
|
||||
Log.i("Delayed send id=" + draft.id + " at " + new Date(draft.ui_snoozed));
|
||||
EntityMessage.snooze(context, draft.id, draft.ui_snoozed);
|
||||
}
|
||||
|
||||
return draft;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue