diff --git a/imap-core/lib/imap-tools.js b/imap-core/lib/imap-tools.js index 78132c41..040ce78b 100644 --- a/imap-core/lib/imap-tools.js +++ b/imap-core/lib/imap-tools.js @@ -256,7 +256,10 @@ module.exports.generateFolderListing = function (folders, skipHierarchy) { } item = { - flags: [].concat(folder.flags || []), + // flags array is used to store permanentflags + //flags: [].concat(folder.flags || []), + + flags: [], path };