From fe244112d498a5d214b789e1d585861ca5e13679 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 4 Feb 2023 15:35:13 -0300 Subject: [PATCH] Revert "Now the filter context things are fixed." This reverts commit 3fcf8818c061a79c9ea517ef60f65de82ab1dc19. --- .../org/joinmastodon/android/utils/StatusFilterPredicate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/utils/StatusFilterPredicate.java b/mastodon/src/main/java/org/joinmastodon/android/utils/StatusFilterPredicate.java index 513291f60..ce0cde64a 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/utils/StatusFilterPredicate.java +++ b/mastodon/src/main/java/org/joinmastodon/android/utils/StatusFilterPredicate.java @@ -46,7 +46,7 @@ public class StatusFilterPredicate implements Predicate{ } 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; }