Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 397d01d5 authored by cketti's avatar cketti
Browse files

Fix bug with partitioning of IMAP FETCH commands

parent 1455b8fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {