mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Cancel add operation after two tries
This commit is contained in:
parent
82e7dc3b47
commit
c6c5419a72
1 changed files with 1 additions and 2 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Reference in a new issue