1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-18 13:21:02 +00:00

Always add draft once

This commit is contained in:
M66B 2019-06-19 07:23:46 +02:00
parent b05653b94b
commit 3749521ffb

View file

@ -191,8 +191,9 @@ class Core {
boolean squash = false;
for (int j = i + 1; j < ops.size(); j++) {
EntityOperation next = ops.get(j);
if (next.message != null && next.message.equals(op.message) &&
(EntityOperation.ADD.equals(next.name) || EntityOperation.DELETE.equals(next.name))) {
if (next.message != null &&
next.message.equals(op.message) &&
EntityOperation.ADD.equals(next.name)) {
squash = true;
break;
}