apply filters to boosted statuses (#1299)

main
Konrad Pozniak 6 years ago committed by GitHub
parent d91e9ad06f
commit 5b3751f9bd
  1. 4
      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();
}
}

Loading…
Cancel
Save