pull/164/head
M66B 5 years ago
parent b63314c063
commit 965b959ef1

@ -195,13 +195,13 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
" snoozed=" + snoozed +
" offset=" + state.offset +
" size=" + state.matches.size());
if (state.matches.size() == 0)
break;
state.offset += Math.min(state.matches.size(), SEARCH_LIMIT);
state.index = 0;
}
if (state.matches.size() == 0)
break;
for (int i = state.index; i < state.matches.size() && found < pageSize && !state.destroyed; i++) {
state.index = i + 1;

Loading…
Cancel
Save