From d863bc50e46f22abb4362343887b2bc4b6e1be73 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sun, 2 Jun 2019 21:21:56 +0200 Subject: [PATCH] apply filters to boosted statuses (#1299) --- .../com/keylesspalace/tusky/fragment/TimelineFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java index 957b11b3..2c09f1eb 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java @@ -1110,8 +1110,8 @@ public class TimelineFragment extends SFragment implements if (status != null && ((status.getInReplyToId() != null && filterRemoveReplies) || (status.getReblog() != null && filterRemoveReblogs) - || (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getContent()).find() - || (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getSpoilerText()).find()))))) { + || (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getActionableStatus().getContent()).find() + || (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getActionableStatus().getSpoilerText()).find()))))) { it.remove(); } }