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:
parent
b05653b94b
commit
3749521ffb
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue