mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Improve the "Do what I mean" nature of "Empty trash" - it now syncs the
trash folder after deletions to clear out local records of deleted messages and does a compact operation on the local store.
This commit is contained in:
parent
75ec749ed4
commit
35f19abc9f
@ -4067,6 +4067,13 @@ public class MessagingController implements Runnable
|
||||
{
|
||||
remoteFolder.expunge();
|
||||
}
|
||||
|
||||
// When we empty trash, we need to actually synchronize the folder
|
||||
// or local deletes will never get cleaned up
|
||||
synchronizeFolder(account, remoteFolder, true, 0, null);
|
||||
compact(account, null);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user