Fix filters

This commit is contained in:
Thomas 2022-12-18 10:36:55 +01:00
parent eae0df43c0
commit 5e4dac1456
1 changed files with 0 additions and 7 deletions

View File

@ -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();