mirror of https://github.com/M66B/FairEmail.git
Prevent collapsing fetch/delete
This commit is contained in:
parent
ed40c47e99
commit
31d643c544
|
@ -263,8 +263,9 @@ class Core {
|
||||||
case EntityOperation.FETCH:
|
case EntityOperation.FETCH:
|
||||||
if (EntityOperation.FETCH.equals(next.name)) {
|
if (EntityOperation.FETCH.equals(next.name)) {
|
||||||
JSONArray jnext = new JSONArray(next.args);
|
JSONArray jnext = new JSONArray(next.args);
|
||||||
// Same uid
|
// Same uid, delete flag
|
||||||
if (jargs.getLong(0) == jnext.getLong(0))
|
if (jargs.getLong(0) == jnext.getLong(0) &&
|
||||||
|
jargs.optBoolean(1) == jnext.optBoolean(1))
|
||||||
skip = true;
|
skip = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue