mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Skip sync on oneshot operation
This commit is contained in:
@@ -229,7 +229,7 @@ public class EntityOperation {
|
||||
if (SEND.equals(name))
|
||||
ServiceSend.start(context);
|
||||
else
|
||||
ServiceSynchronize.process(context);
|
||||
ServiceSynchronize.process(context, false);
|
||||
}
|
||||
|
||||
static void sync(Context context, long fid, boolean foreground) {
|
||||
@@ -258,7 +258,7 @@ public class EntityOperation {
|
||||
if (folder.account == null) // Outbox
|
||||
ServiceSend.start(context);
|
||||
else if (foreground)
|
||||
ServiceSynchronize.process(context);
|
||||
ServiceSynchronize.process(context, true);
|
||||
}
|
||||
|
||||
static void subscribe(Context context, long fid, boolean subscribe) {
|
||||
|
||||
Reference in New Issue
Block a user