mirror of https://github.com/M66B/FairEmail.git
Special case for onet.pl failing to copy messages
This commit is contained in:
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…
Reference in New Issue