Revert "Now the filter context things are fixed."

This reverts commit 3fcf8818c0.
This commit is contained in:
LucasGGamerM 2023-02-04 15:35:13 -03:00
parent 3fcf8818c0
commit fe244112d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}