apply filters to boosted statuses (#1299)
This commit is contained in:
parent
91d01bce05
commit
d863bc50e4
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue