Sent message automatically ...

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

@ -3597,10 +3597,13 @@ 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)
Log.i("Delayed send id=" + draft.id + " at " + new Date(draft.ui_snoozed)); if (draft.ui_snoozed == null)
EntityMessage.snooze(context, draft.id, draft.ui_snoozed); 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; return draft;
} }

Loading…
Cancel
Save