mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 03:24:52 +02:00
Cancel add operation after two tries
This commit is contained in:
@@ -616,8 +616,7 @@ class Core {
|
||||
EntityOperation.BODY.equals(op.name)) ||
|
||||
EntityOperation.ATTACHMENT.equals(op.name) ||
|
||||
((op.tries >= LOCAL_RETRY_MAX || attachments > 0) &&
|
||||
EntityOperation.ADD.equals(op.name) &&
|
||||
EntityFolder.DRAFTS.equals(folder.type)) ||
|
||||
EntityOperation.ADD.equals(op.name)) ||
|
||||
(op.tries >= LOCAL_RETRY_MAX &&
|
||||
EntityOperation.SYNC.equals(op.name) &&
|
||||
(account.protocol == EntityAccount.TYPE_POP ||
|
||||
|
||||
Reference in New Issue
Block a user