Now the filter context things are fixed.
This commit is contained in:
parent
0b9b51294e
commit
3fcf8818c0
@ -46,7 +46,7 @@ public class StatusFilterPredicate implements Predicate<Status>{
|
||||
}
|
||||
boolean matches=status.filtered.stream()
|
||||
.map(filterResult->filterResult.filter)
|
||||
.filter(filter->filter.expiresAt==null||filter.expiresAt.isAfter(Instant.now())&&filter.context.contains(filterContext))
|
||||
.filter(filter->(filter.expiresAt==null||filter.expiresAt.isAfter(Instant.now()))&&filter.context.contains(filterContext))
|
||||
.anyMatch(filter->filter.filterAction==Filter.FilterAction.WARN);
|
||||
return !matches;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user