Skip ensuring uid on delete

pull/156/head
M66B 6 years ago
parent ce9b7e82e2
commit 3309dd5f7d

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

Loading…
Cancel
Save