Ensure folders are removed from local account's cache when deleted
This commit is contained in:
parent
1d0f0de987
commit
4989cc78ef
1 changed files with 4 additions and 2 deletions
|
|
@ -450,11 +450,13 @@ private class Geary.ImapDB.Account : BaseObject {
|
|||
debug("Can't delete folder %s because it has children", folder.to_string());
|
||||
return Db.TransactionOutcome.ROLLBACK;
|
||||
}
|
||||
|
||||
|
||||
do_delete_folder(cx, folder_id, cancellable);
|
||||
|
||||
this.folder_refs.unset(path);
|
||||
|
||||
return Db.TransactionOutcome.COMMIT;
|
||||
}, cancellable);
|
||||
|
||||
}
|
||||
|
||||
private void initialize_contacts(Cancellable? cancellable = null) throws Error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue