apply filters to boosted statuses (#1299)

This commit is contained in:
Konrad Pozniak 2019-06-02 21:21:56 +02:00 committed by GitHub
parent 91d01bce05
commit d863bc50e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1110,8 +1110,8 @@ public class TimelineFragment extends SFragment implements
if (status != null if (status != null
&& ((status.getInReplyToId() != null && filterRemoveReplies) && ((status.getInReplyToId() != null && filterRemoveReplies)
|| (status.getReblog() != null && filterRemoveReblogs) || (status.getReblog() != null && filterRemoveReblogs)
|| (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getContent()).find() || (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getActionableStatus().getContent()).find()
|| (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getSpoilerText()).find()))))) { || (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getActionableStatus().getSpoilerText()).find()))))) {
it.remove(); it.remove();
} }
} }