mirror of https://github.com/M66B/FairEmail.git
Check suitable connection on process send
This commit is contained in:
parent
fe16d5b43d
commit
fa7ac2aa6a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue