diff options
-rw-r--r-- | examples/imapresource/imapresource.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 25d9534..9fb83ab 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -834,6 +834,10 @@ protected: | |||
834 | .then(imap->select(folderRemoteId)) | 834 | .then(imap->select(folderRemoteId)) |
835 | .then([](Imap::SelectResult){}) | 835 | .then([](Imap::SelectResult){}) |
836 | .then(imap->fetch(set, scope, [imap, messageByUid](const Imap::Message &message) { | 836 | .then(imap->fetch(set, scope, [imap, messageByUid](const Imap::Message &message) { |
837 | //We avoid parsing normally, so we have to do it explicitly here | ||
838 | if (message.msg) { | ||
839 | message.msg->parse(); | ||
840 | } | ||
837 | messageByUid->insert(message.uid, message); | 841 | messageByUid->insert(message.uid, message); |
838 | })); | 842 | })); |
839 | 843 | ||