diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-26 22:07:23 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-26 22:07:23 +0100 |
commit | eee5d9707f544eec7d2432dc1ae76e41cfcdce28 (patch) | |
tree | 8841e77ebfc56ab21bde9aa1c35e0beee785430c | |
parent | f970d3f7b1f63692ffb2e579b76b4deb1b61fa62 (diff) | |
download | sink-eee5d9707f544eec7d2432dc1ae76e41cfcdce28.tar.gz sink-eee5d9707f544eec7d2432dc1ae76e41cfcdce28.zip |
Skip messages that we can't fetch anyways.
-rw-r--r-- | examples/imapresource/imapresource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 04cedff..5bf0c30 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -475,7 +475,8 @@ public: | |||
475 | folderRemoteId = f; | 475 | folderRemoteId = f; |
476 | } else { | 476 | } else { |
477 | if (folderRemoteId != f) { | 477 | if (folderRemoteId != f) { |
478 | SinkWarningCtx(mLogCtx) << "Not all messages come from the same folder " << r << folderRemoteId; | 478 | SinkWarningCtx(mLogCtx) << "Not all messages come from the same folder " << r << folderRemoteId << ". Skipping message."; |
479 | continue; | ||
479 | } | 480 | } |
480 | } | 481 | } |
481 | toFetch << uidFromMailRid(r); | 482 | toFetch << uidFromMailRid(r); |