Sent message automatically ...

pull/169/head
M66B 6 years ago
parent daabe8c6c0
commit 19ce2783f1

@ -3597,7 +3597,10 @@ public class FragmentCompose extends FragmentBase {
ServiceSynchronize.eval(context, "compose/action"); ServiceSynchronize.eval(context, "compose/action");
if (action == R.id.action_send && draft.ui_snoozed != null) { 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)); Log.i("Delayed send id=" + draft.id + " at " + new Date(draft.ui_snoozed));
EntityMessage.snooze(context, draft.id, draft.ui_snoozed); EntityMessage.snooze(context, draft.id, draft.ui_snoozed);
} }

Loading…
Cancel
Save