Fix performance of server-side filtering (#17575)

Fixes #17567
lolsob-rspec
Claire 2022-02-16 14:28:45 +01:00 committed by GitHub
parent 488c4e1712
commit 4d49bb4b52
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class FeedManager
return false if active_filters.empty?
combined_regex = active_filters.reduce { |memo, obj| Regexp.union(memo, obj) }
combined_regex = Regexp.union(active_filters)
status = status.reblog if status.reblog?
combined_text = [