mirror of
https://github.com/1f349/mail.1f349.com.git
synced 2024-11-09 22:32:52 +00:00
Use correct flag \Noselect
This commit is contained in:
parent
ceaa664d78
commit
a68afece19
@ -58,7 +58,7 @@
|
||||
let imapFolders = j.value as ImapFolder[];
|
||||
|
||||
// Remove no-select folders
|
||||
imapFolders = imapFolders.filter(x => !x.Attributes.includes("\\\\Noselect"));
|
||||
imapFolders = imapFolders.filter(x => !x.Attributes.includes("\\Noselect"));
|
||||
// Sort shorter paths first so parent folders are registered before children
|
||||
imapFolders = imapFolders.sort((a, b) => countChar(a.Name, a.Delimiter) - countChar(b.Name, b.Delimiter));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user