Fix for the "K9 skips every 101st message when fetching on IMAP" bug by

e-t172 <e-t172@akegroup.org>. Fixes Issue 2819
This commit is contained in:
Jesse Vincent 2010-12-30 23:57:41 +00:00
parent 47762a9baa
commit 29fdb81f9b

View file

@ -1331,7 +1331,7 @@ public class ImapStore extends Store
for (int windowStart=0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE +1))
for (int windowStart=0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE))
{
List<String> uidWindow = uids.subList(windowStart, Math.min((windowStart+FETCH_WINDOW_SIZE),messages.length));