Skip to content
Snippets Groups Projects
Unverified Commit 73fce8d3 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix performance of server-side filtering (#17575)

Fixes #17567
parent 793da089
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment