mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Off-by-one error in the recent IMAP fetch work :/
This commit is contained in:
parent
e43297cd8b
commit
ece68bae5d
@ -1205,7 +1205,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));
|
List<String> uidWindow = uids.subList(windowStart, Math.min((windowStart+FETCH_WINDOW_SIZE),messages.length));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user