mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Reset folder TBD
This commit is contained in:
parent
8ebfab6093
commit
bd6c571eaf
2 changed files with 5 additions and 1 deletions
|
@ -1807,8 +1807,9 @@ class Core {
|
|||
ifolder.setSubscribed(false);
|
||||
ifolder.delete(false);
|
||||
}
|
||||
} finally {
|
||||
db.folder().deleteFolder(folder.id);
|
||||
} finally {
|
||||
db.folder().resetFolderTbd(folder.id);
|
||||
sync_folders = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -336,6 +336,9 @@ public interface DaoFolder {
|
|||
@Query("UPDATE folder SET tbc = NULL WHERE id = :id AND tbc IS NOT NULL")
|
||||
int resetFolderTbc(long id);
|
||||
|
||||
@Query("UPDATE folder SET tbd = NULL WHERE id = :id AND tbd IS NOT NULL")
|
||||
int resetFolderTbd(long id);
|
||||
|
||||
@Query("UPDATE folder SET `rename` = NULL WHERE id = :id AND `rename` IS NOT NULL")
|
||||
int resetFolderRename(long id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue