1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Skip finding indexed hidden messages

This commit is contained in:
M66B 2022-06-07 18:05:10 +02:00
parent 2ceea59c3a
commit a1288aa3df

View file

@ -299,7 +299,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
for (; state.index < state.ids.size() && found < pageSize && !state.destroyed; state.index++) {
long id = state.ids.get(state.index);
EntityMessage message = db.message().getMessage(id);
if (message == null)
if (message == null || message.ui_hide)
continue;
if (criteria.with_unseen) {