1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 17:27:00 +00:00

Skip retrying attachment operations

This commit is contained in:
M66B 2020-10-12 17:36:11 +02:00
parent a443f1299f
commit 8329d1108e

View file

@ -467,6 +467,7 @@ class Core {
ex.getCause() instanceof MessageRemovedIOException || ex.getCause() instanceof MessageRemovedIOException ||
ex.getCause() instanceof BadCommandException || ex.getCause() instanceof BadCommandException ||
ex.getCause() instanceof CommandFailedException || ex.getCause() instanceof CommandFailedException ||
EntityOperation.ATTACHMENT.equals(op.name) ||
(ConnectionHelper.isIoError(ex) && (ConnectionHelper.isIoError(ex) &&
EntityFolder.DRAFTS.equals(folder.type) && EntityFolder.DRAFTS.equals(folder.type) &&
EntityOperation.ADD.equals(op.name))) { EntityOperation.ADD.equals(op.name))) {