Check suitable connection on process send

This commit is contained in:
M66B 2020-05-04 19:10:38 +02:00
parent fe16d5b43d
commit fa7ac2aa6a
1 changed files with 3 additions and 0 deletions

View File

@ -271,6 +271,9 @@ public class ServiceSend extends ServiceBase {
try {
wlOutbox.acquire();
if (!ConnectionHelper.getNetworkState(this).isSuitable())
return;
DB db = DB.getInstance(this);
EntityFolder outbox = db.folder().getOutbox();
try {