mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Purge after move/copy
This commit is contained in:
@@ -34,7 +34,6 @@ public interface DaoOperation {
|
||||
" WHEN operation.name = '" + EntityOperation.ATTACHMENT + "' THEN -3" +
|
||||
" WHEN operation.name = '" + EntityOperation.HEADERS + "' THEN -2" +
|
||||
" WHEN operation.name = '" + EntityOperation.RAW + "' THEN -2" +
|
||||
" WHEN operation.name = '" + EntityOperation.PURGE + "' THEN -2" +
|
||||
" WHEN operation.name = '" + EntityOperation.SYNC + "' AND folder.account IS NULL THEN -1" + // Outbox
|
||||
" WHEN operation.name = '" + EntityOperation.SYNC + "' AND folder.account IS NOT NULL THEN 1" +
|
||||
// Other operations: add, delete, seen, answered, flag, keyword, label, subscribe, send
|
||||
@@ -42,6 +41,7 @@ public interface DaoOperation {
|
||||
" WHEN operation.name = '" + EntityOperation.EXISTS + "' THEN 3" +
|
||||
" WHEN operation.name = '" + EntityOperation.MOVE + "' THEN 4" +
|
||||
" WHEN operation.name = '" + EntityOperation.COPY + "' THEN 4" +
|
||||
" WHEN operation.name = '" + EntityOperation.PURGE + "' THEN 5" +
|
||||
" ELSE 0" +
|
||||
" END";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user