mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 02:12:17 -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) {
|
||||
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;
|
||||
@ -1543,7 +1544,7 @@ Email.prototype._localDeleteMessage = function(options) {
|
||||
//
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* Helper method that extracts a message body from the body parts
|
||||
*
|
||||
* @param {Object} message DTO
|
||||
|
Loading…
Reference in New Issue
Block a user