mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 19:52:21 -05:00
IMAP: Need to reset index for Palm pre
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@668 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
006d69de51
commit
ba55a1f7ca
@ -1014,6 +1014,8 @@ public class ImapConnection extends AbstractConnection {
|
||||
} else {
|
||||
startUid = endUid = convertToLong(currentRange);
|
||||
}
|
||||
// Need to reset index for Palm pre
|
||||
currentIndex = 0;
|
||||
while (currentIndex < currentFolder.count() && currentFolder.getImapUid(currentIndex) < startUid) {
|
||||
currentIndex++;
|
||||
}
|
||||
@ -1072,6 +1074,8 @@ public class ImapConnection extends AbstractConnection {
|
||||
} else {
|
||||
startUid = endUid = convertToLong(currentRange);
|
||||
}
|
||||
// Need to reset index for Palm pre
|
||||
currentIndex = 0;
|
||||
while (currentIndex < currentFolder.count() && (currentIndex + 1) < startUid) {
|
||||
currentIndex++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user