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;
|
FolderEntry entry;
|
||||||
entry.folder = allFolders.StringAt(i);
|
entry.folder = allFolders.StringAt(i);
|
||||||
for (int32 j = 0; j < subscribedFolders.CountStrings(); j++) {
|
for (int32 j = 0; j < subscribedFolders.CountStrings(); j++) {
|
||||||
if (entry.folder == subscribedFolders.StringAt(j)
|
if (entry.folder == subscribedFolders.StringAt(j)) {
|
||||||
|| entry.folder.ICompare("INBOX") == 0) {
|
|
||||||
entry.subscribed = true;
|
entry.subscribed = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user