Special case for onet.pl failing to copy messages

pull/190/head
M66B 4 years ago
parent 5afbbaf1f6
commit 3d75ab9646

@ -470,6 +470,17 @@ 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 ||

Loading…
Cancel
Save