From fe5d3f123cf7ded33dd59fadfa560c67ee563639 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Tue, 16 May 2017 14:37:54 +0300 Subject: [PATCH] fix mailbox flags in LIST --- imap-core/lib/imap-tools.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 };