mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Header parser fixes (ISO_2022_JP charset probles) (Closes #355)
+ Small fixes
This commit is contained in:
parent
6b0ca800e8
commit
3a9bc849c9
15 changed files with 131 additions and 59 deletions
|
|
@ -162,6 +162,19 @@
|
|||
this.oNewMessage = {};
|
||||
};
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
CacheAppStorage.prototype.sInboxFolderName = '';
|
||||
|
||||
/**
|
||||
* @return {string}
|
||||
*/
|
||||
CacheAppStorage.prototype.getFolderInboxName = function ()
|
||||
{
|
||||
return '' === this.sInboxFolderName ? 'INBOX' : this.sInboxFolderName;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} sFolderHash
|
||||
* @return {string}
|
||||
|
|
@ -178,6 +191,10 @@
|
|||
CacheAppStorage.prototype.setFolderFullNameRaw = function (sFolderHash, sFolderFullNameRaw)
|
||||
{
|
||||
this.oFoldersNamesCache[sFolderHash] = sFolderFullNameRaw;
|
||||
if ('INBOX' === sFolderFullNameRaw || '' === this.sInboxFolderName)
|
||||
{
|
||||
this.sInboxFolderName = sFolderFullNameRaw;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue