Commit 3e991e3f authored by Laurent Montel's avatar Laurent Montel
Browse files

Port deprecated method

parent fbd7e5bd
Pipeline #242670 passed with stage
in 14 minutes and 16 seconds
......@@ -72,7 +72,7 @@ void RetrieveCollectionsTask::doStart(KIMAP::Session *session)
// so we need to use both and exclude mailboxes in LSUB but not in LIST
if (isSubscriptionEnabled()) {
auto fullListJob = new KIMAP::ListJob(session);
fullListJob->setIncludeUnsubscribed(true);
fullListJob->setOption(KIMAP::ListJob::IncludeUnsubscribed);
fullListJob->setQueriedNamespaces(serverNamespaces());
connect(fullListJob, &KIMAP::ListJob::mailBoxesReceived, this, &RetrieveCollectionsTask::onFullMailBoxesReceived);
connect(fullListJob, &KIMAP::ListJob::result, this, &RetrieveCollectionsTask::onFullMailBoxesReceiveDone);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment