summaryrefslogtreecommitdiffstats
path: root/examples/imapresource
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-21 13:46:45 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-21 13:46:45 +0200
commit0d9d054be6a1716abff20a49e44d94b9b79ab107 (patch)
treec123510ba6f76e7e67fd417b45ba1b2e4c2fe0bf /examples/imapresource
parent8d20128618b427270c6c7db49a1716f65b8ff840 (diff)
downloadsink-0d9d054be6a1716abff20a49e44d94b9b79ab107.tar.gz
sink-0d9d054be6a1716abff20a49e44d94b9b79ab107.zip
Apparently this folder can have various names.
Diffstat (limited to 'examples/imapresource')
-rw-r--r--examples/imapresource/imapserverproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/imapresource/imapserverproxy.cpp b/examples/imapresource/imapserverproxy.cpp
index 36dbcf5..08a0081 100644
--- a/examples/imapresource/imapserverproxy.cpp
+++ b/examples/imapresource/imapserverproxy.cpp
@@ -471,7 +471,7 @@ KAsync::Job<void> ImapServerProxy::fetchFolders(std::function<void(const Folder
471 bool sent = caseInsensitiveContains(FolderFlags::Sent, flags); 471 bool sent = caseInsensitiveContains(FolderFlags::Sent, flags);
472 bool drafts = caseInsensitiveContains(FolderFlags::Drafts, flags); 472 bool drafts = caseInsensitiveContains(FolderFlags::Drafts, flags);
473 bool trash = caseInsensitiveContains(FolderFlags::Trash, flags); 473 bool trash = caseInsensitiveContains(FolderFlags::Trash, flags);
474 bool isgmailParent = mailbox.name.toLower() == "[gmail]"; 474 bool isgmailParent = mailbox.name.toLower() == "[gmail]" || mailbox.name.toLower() == "[Google Mail]";
475 /** 475 /**
476 * Because gmail duplicates messages all over the place we only support a few selected folders for now that should be mostly exclusive. 476 * Because gmail duplicates messages all over the place we only support a few selected folders for now that should be mostly exclusive.
477 */ 477 */