mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-13 20:43:26 +02:00
Skip ensuring uid on delete
This commit is contained in:
@@ -193,7 +193,8 @@ class Core {
|
||||
EntityOperation next = ops.get(j);
|
||||
if (next.message != null &&
|
||||
next.message.equals(op.message) &&
|
||||
EntityOperation.ADD.equals(next.name)) {
|
||||
(EntityOperation.ADD.equals(next.name) ||
|
||||
EntityOperation.DELETE.equals(next.name))) {
|
||||
squash = true;
|
||||
break;
|
||||
}
|
||||
@@ -315,6 +316,8 @@ class Core {
|
||||
return;
|
||||
if (EntityOperation.ADD.equals(op.name))
|
||||
return;
|
||||
if (EntityOperation.DELETE.equals(op.name) && !TextUtils.isEmpty(message.msgid))
|
||||
return;
|
||||
|
||||
Log.i(folder.name + " ensure uid op=" + op.name + " msgid=" + message.msgid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user