Skip retrying attachment operations

This commit is contained in:
M66B 2020-10-12 17:36:11 +02:00
parent a443f1299f
commit 8329d1108e
1 changed files with 1 additions and 0 deletions

View File

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