Don't show blocked or ignored users

pull/14/head
Sam Bosley 12 years ago
parent 2c5d9ae29c
commit 24064ac578

@ -59,7 +59,8 @@ public class PeopleFilterExposer extends BroadcastReceiver {
private FilterListItem[] prepareFilters(Context context) {
TodorooCursor<User> users = PluginServices.getUserDao().query(Query.select(User.PROPERTIES)
.where(Criterion.all)
.where(Criterion.not(Criterion.or(User.STATUS.eq(User.STATUS_BLOCKED),
User.STATUS.eq(User.STATUS_IGNORED))))
.orderBy(Order.asc(User.NAME), Order.asc(User.EMAIL)));
try {
List<FilterListItem> items = new ArrayList<FilterListItem>();

Loading…
Cancel
Save