Cancel purge after failed move

This commit is contained in:
M66B 2022-05-04 07:30:25 +02:00
parent 65ef6ef86d
commit c0a3eda7f6
1 changed files with 6 additions and 0 deletions

View File

@ -631,6 +631,12 @@ public class EntityOperation {
}
}
if (MOVE.equals(name)) {
int count = db.operation().deleteOperation(folder, PURGE);
if (count > 0)
sync(context, folder, false);
}
if (MOVE.equals(name) ||
ADD.equals(name) ||
RAW.equals(name))