Commit b5ff47b1 authored by Mickaël Guessant's avatar Mickaël Guessant

IMAP: fix huge cache issue, chunk IMAP fetch triggers multiple full message download

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2468 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 764c5322
......@@ -2117,6 +2117,11 @@ public abstract class ExchangeSession {
}
public boolean isLoaded() {
// check and retrieve cached content
if (imapUid == messageList.cachedMessageImapUid) {
mimeContent = messageList.cachedMimeContent;
mimeMessage = messageList.cachedMimeMessage;
}
return mimeMessage != null;
}
......
Markdown is supported
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