mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-09 18:43:23 +02:00
Prevent collapsing fetch/delete
This commit is contained in:
@@ -263,8 +263,9 @@ class Core {
|
||||
case EntityOperation.FETCH:
|
||||
if (EntityOperation.FETCH.equals(next.name)) {
|
||||
JSONArray jnext = new JSONArray(next.args);
|
||||
// Same uid
|
||||
if (jargs.getLong(0) == jnext.getLong(0))
|
||||
// Same uid, delete flag
|
||||
if (jargs.getLong(0) == jnext.getLong(0) &&
|
||||
jargs.optBoolean(1) == jnext.optBoolean(1))
|
||||
skip = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user