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:
parent
2ceea59c3a
commit
a1288aa3df
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue