fix regex filter not affecting spoilertext

main
Conny Duck 6 years ago
parent 07f53c358d
commit 45a5acbc15
  1. 2
      app/src/main/java/com/keylesspalace/tusky/fragment/TimelineFragment.java

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

Loading…
Cancel
Save