mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Run rules on browsed messages
This commit is contained in:
parent
27cb003558
commit
e6e2c6e5bb
1 changed files with 3 additions and 1 deletions
|
@ -382,6 +382,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
}
|
||||
}
|
||||
|
||||
List<EntityRule> rules = db.rule().getEnabledRules(browsable.id);
|
||||
|
||||
int found = 0;
|
||||
while (index >= 0 && found < pageSize && !destroyed) {
|
||||
Log.i("Boundary server index=" + index);
|
||||
|
@ -412,7 +414,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
account, browsable,
|
||||
ifolder, (IMAPMessage) isub[j],
|
||||
true,
|
||||
new ArrayList<EntityRule>());
|
||||
rules);
|
||||
found++;
|
||||
}
|
||||
db.message().setMessageFound(message.account, message.thread);
|
||||
|
|
Loading…
Reference in a new issue