mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Check suitable connection on process send
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user