summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-12-28 12:04:45 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-12-28 12:04:45 +0100
commit5a62f6ef857ef98812dd6ca30bc1e1049ccbf2ae (patch)
tree7ef9c4cb0d415693d505360cc51e0ffc3167009b /examples/imapresource/imapserverproxy.cpp
parent53e809bb1024206c7baa43ab640586d34bfb7c13 (diff)
downloadsink-5a62f6ef857ef98812dd6ca30bc1e1049ccbf2ae.tar.gz
sink-5a62f6ef857ef98812dd6ca30bc1e1049ccbf2ae.zip
Avoid the date limit for tests.
Diffstat (limited to 'examples/imapresource/imapserverproxy.cpp')
-rw-r--r--examples/imapresource/imapserverproxy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/imapresource/imapserverproxy.cpp b/examples/imapresource/imapserverproxy.cpp
index 2dd2d46..8a791a2 100644
--- a/examples/imapresource/imapserverproxy.cpp
+++ b/examples/imapresource/imapserverproxy.cpp
@@ -393,7 +393,6 @@ KAsync::Job<QVector<qint64>> ImapServerProxy::fetchHeaders(const QString &mailbo
393 393
394KAsync::Job<QVector<qint64>> ImapServerProxy::fetchUids(const QString &mailbox) 394KAsync::Job<QVector<qint64>> ImapServerProxy::fetchUids(const QString &mailbox)
395{ 395{
396 auto term = KIMAP2::Term(KIMAP2::Term::Uid, KIMAP2::ImapSet(1, 0));
397 auto notDeleted = KIMAP2::Term(KIMAP2::Term::Deleted); 396 auto notDeleted = KIMAP2::Term(KIMAP2::Term::Deleted);
398 notDeleted.setNegated(true); 397 notDeleted.setNegated(true);
399 return select(mailbox).then<QVector<qint64>>(search(notDeleted)); 398 return select(mailbox).then<QVector<qint64>>(search(notDeleted));