mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
(fix) moved the mailbox cleanup after expunge in the service
This commit is contained in:
1 parent
2e3057c2ce
commit
9362513fee
2 files changed
+17
-5
No files matched your search
@@ -138,10 +138,7 @@
|
||||
|
||||
function emptyTrashFolder(folder) {
|
||||
folder.$emptyTrash().then(function() {
|
||||
// Success - remove all messages from the mailbox
|
||||
folder.$messages = [];
|
||||
folder.uidsMap = {};
|
||||
folder.unseenCount = 0;
|
||||
// Success
|
||||
}, function(error) {
|
||||
Dialog.alert(l('Warning'), error);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user