mirror of https://github.com/M66B/FairEmail.git
Fetch resolution
This commit is contained in:
parent
edd6d5d9bf
commit
21a1c5b5c0
|
@ -451,6 +451,7 @@ class Core {
|
||||||
db.operation().setOperationError(op.id, op.error);
|
db.operation().setOperationError(op.id, op.error);
|
||||||
|
|
||||||
if (message != null &&
|
if (message != null &&
|
||||||
|
!EntityOperation.FETCH.equals(op.name) &&
|
||||||
!(ex instanceof IllegalArgumentException))
|
!(ex instanceof IllegalArgumentException))
|
||||||
db.message().setMessageError(message.id, op.error);
|
db.message().setMessageError(message.id, op.error);
|
||||||
|
|
||||||
|
|
|
@ -482,7 +482,10 @@ public class EntityOperation {
|
||||||
if (f == null)
|
if (f == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
queue(context, f, FETCH, m.uid);
|
if (EntityOperation.FETCH.equals(name))
|
||||||
|
EntityOperation.sync(context, f.id, false);
|
||||||
|
else
|
||||||
|
queue(context, f, FETCH, m.uid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue