Run GC after emptying spam or trash

This commit is contained in:
Chris Heywood 2020-01-08 12:09:55 +01:00
parent ff6c45c29c
commit 584ae84e5b

View file

@ -1277,6 +1277,8 @@ private class Geary.ImapEngine.MinimalFolder : Geary.Folder, Geary.FolderSupport
// open while processing first the flag updates then the
// expunge from the remote
yield this.replay_queue.checkpoint(cancellable);
yield this._account.local.db.run_gc(cancellable);
}
private void check_open(string method) throws EngineError {