From 9338e3d4a3bec88e66db805d573efa8fa0a758ed Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 31 Dec 2020 11:40:15 +0100 Subject: [PATCH] Revert "Special case for onet.pl failing to copy messages" This reverts commit 3d75ab96461d4fb16d85e8db486519f635140ac3. --- app/src/main/java/eu/faircode/email/Core.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index ab2b551cce..580be2fa5e 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -470,17 +470,6 @@ class Core { continue; } - if (EntityOperation.MOVE.equals(op.name) && - "imap.poczta.onet.pl".equals(account.host)) { - ops.remove(op); - db.operation().deleteOperation(op.id); - if (message != null) { - db.message().setMessageUiHide(message.id, false); - db.message().setMessageError(message.id, Log.formatThrowable(ex, false)); - } - continue; - } - if (op.tries >= TOTAL_RETRY_MAX || ex instanceof OutOfMemoryError || ex instanceof FileNotFoundException ||