mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-14 00:07:11 +00:00
(fix) properly cleanup the Trash folder after empty'ing
This commit is contained in:
1 parent
d28fccf71e
commit
314dcfd30e
1 file changed
+4
-1
@@ -138,7 +138,10 @@
|
||||
|
||||
function emptyTrashFolder(folder) {
|
||||
folder.$emptyTrash().then(function() {
|
||||
// Success
|
||||
// Success - remove all messages from the mailbox
|
||||
folder.$messages = [];
|
||||
folder.uidsMap = {};
|
||||
folder.unseenCount = 0;
|
||||
}, function(error) {
|
||||
Dialog.alert(l('Warning'), error);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user