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);
|
||||
|
||||
if (message != null &&
|
||||
!EntityOperation.FETCH.equals(op.name) &&
|
||||
!(ex instanceof IllegalArgumentException))
|
||||
db.message().setMessageError(message.id, op.error);
|
||||
|
||||
|
|
|
@ -482,6 +482,9 @@ public class EntityOperation {
|
|||
if (f == null)
|
||||
return;
|
||||
|
||||
if (EntityOperation.FETCH.equals(name))
|
||||
EntityOperation.sync(context, f.id, false);
|
||||
else
|
||||
queue(context, f, FETCH, m.uid);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue