fix regex filter not affecting spoilertext
This commit is contained in:
parent
c452b8f281
commit
ef9e931428
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ public class TimelineFragment extends SFragment implements
|
||||||
if ((status.getInReplyToId() != null && filterRemoveReplies)
|
if ((status.getInReplyToId() != null && filterRemoveReplies)
|
||||||
|| (status.getReblog() != null && filterRemoveReblogs)
|
|| (status.getReblog() != null && filterRemoveReblogs)
|
||||||
|| (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getContent()).find()
|
|| (filterRemoveRegex && (filterRemoveRegexMatcher.reset(status.getContent()).find()
|
||||||
|| (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getContent()).find())))) {
|
|| (!status.getSpoilerText().isEmpty() && filterRemoveRegexMatcher.reset(status.getSpoilerText()).find())))) {
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue