mirror of
https://github.com/moparisthebest/mail
synced 2024-11-28 20:02:16 -05:00
Fix visible outbox on startup
This commit is contained in:
parent
e5f281c124
commit
1d64c2dfb0
@ -1205,6 +1205,7 @@ Email.prototype._initFolders = function() {
|
|||||||
|
|
||||||
self._account.folders.forEach(function(folder) {
|
self._account.folders.forEach(function(folder) {
|
||||||
folder.modseq = folder.modseq || 0;
|
folder.modseq = folder.modseq || 0;
|
||||||
|
folder.count = folder.count || 0;
|
||||||
folder.uids = folder.uids || []; // attach an empty uids array to the folder
|
folder.uids = folder.uids || []; // attach an empty uids array to the folder
|
||||||
folder.uids.sort(function(a, b) {
|
folder.uids.sort(function(a, b) {
|
||||||
return a - b;
|
return a - b;
|
||||||
|
Loading…
Reference in New Issue
Block a user