mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Folder list optimization
This commit is contained in:
parent
61a7a9c078
commit
547324f8d1
15 changed files with 113 additions and 99 deletions
|
|
@ -585,17 +585,6 @@ WebMailDataStorage.prototype.folderResponseParseRec = function (sNamespace, aFol
|
|||
{
|
||||
RL.cache().setFolderToCacheList(sFolderFullNameRaw, oCacheFolder);
|
||||
RL.cache().setFolderFullNameRaw(oCacheFolder.fullNameHash, sFolderFullNameRaw);
|
||||
|
||||
oCacheFolder.isGmailFolder = Consts.Values.GmailFolderName.toLowerCase() === sFolderFullNameRaw.toLowerCase();
|
||||
if ('' !== sNamespace && sNamespace === oCacheFolder.fullNameRaw + oCacheFolder.delimiter)
|
||||
{
|
||||
oCacheFolder.isNamespaceFolder = true;
|
||||
}
|
||||
|
||||
if (oCacheFolder.isNamespaceFolder || oCacheFolder.isGmailFolder)
|
||||
{
|
||||
oCacheFolder.isUnpaddigFolder = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue