From 5e4dac145619546e96fa1f63308478ebdb8701aa Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 18 Dec 2022 10:36:55 +0100 Subject: [PATCH] Fix filters --- .../java/app/fedilab/android/helper/TimelineHelper.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java index 589528a8c..4ad014c17 100644 --- a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java @@ -137,8 +137,6 @@ public class TimelineHelper { if (m.find()) { status.filteredByApp = filter; continue; - } else { - status.filteredByApp = null; } if (status.spoiler_text != null) { String spoilerText; @@ -149,8 +147,6 @@ public class TimelineHelper { Matcher ms = p.matcher(spoilerText); if (ms.find()) { status.filteredByApp = filter; - } else { - status.filteredByApp = null; } } } @@ -160,9 +156,6 @@ public class TimelineHelper { if (filterTimeLineType == Timeline.TimeLineEnum.HOME) { if (filteredAccounts != null && filteredAccounts.size() > 0) { for (Status status : statuses) { - if (status.filteredByApp != null) { - continue; - } for (Account account : filteredAccounts) { if (account.acct.equals(status.account.acct) || (status.reblog != null && account.acct.equals(status.reblog.account.acct))) { Filter filterCustom = new Filter();