mirror of https://github.com/moparisthebest/k-9
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:
parent
e8151cb22e
commit
4cd3547e10
|
@ -1206,7 +1206,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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue