mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-10 11:35:11 -05:00
Off-by-one error in the recent IMAP fetch work :/
This commit is contained in:
parent
ddbb726e8b
commit
e19c78c5eb
@ -1201,7 +1201,7 @@ public class ImapStore extends Store
|
||||
|
||||
|
||||
|
||||
for (int windowStart=1; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE +1))
|
||||
for (int windowStart=0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE +1))
|
||||
{
|
||||
List<String> uidWindow = uids.subList(windowStart, Math.min((windowStart+FETCH_WINDOW_SIZE),messages.length));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user