Run rules on browsed messages

pull/156/head
M66B 6 years ago
parent 27cb003558
commit e6e2c6e5bb

@ -382,6 +382,8 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
} }
} }
List<EntityRule> rules = db.rule().getEnabledRules(browsable.id);
int found = 0; int found = 0;
while (index >= 0 && found < pageSize && !destroyed) { while (index >= 0 && found < pageSize && !destroyed) {
Log.i("Boundary server index=" + index); Log.i("Boundary server index=" + index);
@ -412,7 +414,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
account, browsable, account, browsable,
ifolder, (IMAPMessage) isub[j], ifolder, (IMAPMessage) isub[j],
true, true,
new ArrayList<EntityRule>()); rules);
found++; found++;
} }
db.message().setMessageFound(message.account, message.thread); db.message().setMessageFound(message.account, message.thread);

Loading…
Cancel
Save