Fetch resolution

This commit is contained in:
M66B 2020-12-03 11:32:22 +01:00
parent edd6d5d9bf
commit 21a1c5b5c0
2 changed files with 5 additions and 1 deletions

View File

@ -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);

View File

@ -482,7 +482,10 @@ public class EntityOperation {
if (f == null)
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);
}
}