mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Fix bug with partitioning of IMAP FETCH commands
This commit is contained in:
parent
1455b8fbb8
commit
397d01d513
@ -1103,7 +1103,7 @@ public class ImapStore extends Store {
|
||||
|
||||
|
||||
|
||||
for (int windowStart = 0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE)) {
|
||||
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));
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user