From f35ac8ae6b19054b672fa757ba849c90f96d207b Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 15 Dec 2022 18:17:27 +0100 Subject: [PATCH] Improve filters --- .../main/java/app/fedilab/android/helper/TimelineHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f2e3fe59..66b01ba8 100644 --- a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java @@ -154,7 +154,7 @@ public class TimelineHelper { if (filterTimeLineType == Timeline.TimeLineEnum.HOME) { if (filteredAccounts != null && filteredAccounts.size() > 0) { for (Account account : filteredAccounts) { - if (account.acct.equals(status.account.acct)) { + if (account.acct.equals(status.account.acct) || (status.reblog != null && account.acct.equals(status.reblog.account.acct))) { Filter filterCustom = new Filter(); filterCustom.filter_action = "hide"; ArrayList contextCustom = new ArrayList<>();