Fix visible outbox on startup

This commit is contained in:
Tankred Hase 2015-04-09 14:46:33 +02:00
parent e5f281c124
commit 1d64c2dfb0
1 changed files with 2 additions and 1 deletions

View File

@ -1205,6 +1205,7 @@ Email.prototype._initFolders = function() {
self._account.folders.forEach(function(folder) {
folder.modseq = folder.modseq || 0;
folder.count = folder.count || 0;
folder.uids = folder.uids || []; // attach an empty uids array to the folder
folder.uids.sort(function(a, b) {
return a - b;