From 03634eabd071cc3ec51b93de01439ccf470e904a Mon Sep 17 00:00:00 2001
From: Dave Thompson <dwt@outlook.com>
Date: Wed, 1 Mar 2017 09:59:37 +0000
Subject: [PATCH 1/1] Removed INBOX check inside IMAP protocol's GetFolder
method
---
src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Protocol.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Protocol.cpp b/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Protocol.cpp
index 61c98c0..3e070f3 100644
a
|
b
|
Protocol::GetFolders(FolderList& folders, BString& separator)
|
166 | 166 | FolderEntry entry; |
167 | 167 | entry.folder = allFolders.StringAt(i); |
168 | 168 | for (int32 j = 0; j < subscribedFolders.CountStrings(); j++) { |
169 | | if (entry.folder == subscribedFolders.StringAt(j) |
170 | | || entry.folder.ICompare("INBOX") == 0) { |
| 169 | if (entry.folder == subscribedFolders.StringAt(j)) { |
171 | 170 | entry.subscribed = true; |
172 | 171 | break; |
173 | 172 | } |