mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-28 05:14:18 +00:00
(js) Fix UIDs range when preloading messages
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
}
|
||||
else
|
||||
// Next messages not load; preload more headers further down
|
||||
endIndex = Math.min(startIndex + Mailbox.PRELOAD.SIZE, max);
|
||||
endIndex = Math.min(startIndex + Mailbox.PRELOAD.SIZE, max - 1);
|
||||
|
||||
if (!angular.isDefined(this.$messages[startIndex].subject) &&
|
||||
!angular.isDefined(this.$messages[startIndex].loading) ||
|
||||
|
||||
Reference in New Issue
Block a user