Removed INBOX check inside IMAP protocol's GetFolder method
Signed-off-by: Axel Dörfler <[email protected]>
This commit is contained in:
committed by
Axel Dörfler
parent
8bc91c5e0f
commit
e378617b62
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user