Revert "Now the filter context things are fixed."
This reverts commit 3fcf8818c0
.
This commit is contained in:
parent
3fcf8818c0
commit
fe244112d4
|
@ -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