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;
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…
Cancel
Save