Removed INBOX check inside IMAP protocol's GetFolder method

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
This commit is contained in:
Dave Thompson 2017-03-01 09:59:37 +00:00 committed by Axel Dörfler
parent 8bc91c5e0f
commit e378617b62

View File

@ -166,8 +166,7 @@ Protocol::GetFolders(FolderList& folders, BString& separator)
FolderEntry entry;
entry.folder = allFolders.StringAt(i);
for (int32 j = 0; j < subscribedFolders.CountStrings(); j++) {
if (entry.folder == subscribedFolders.StringAt(j)
|| entry.folder.ICompare("INBOX") == 0) {
if (entry.folder == subscribedFolders.StringAt(j)) {
entry.subscribed = true;
break;
}