Browse Source

Fix performance of server-side filtering (#17575)

Fixes #17567
closed-social-glitch-2
Claire 2 years ago
committed by GitHub
parent
commit
73fce8d311
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/feed_manager.rb

+ 1
- 1
app/lib/feed_manager.rb View File

@ -441,7 +441,7 @@ class FeedManager
return false if active_filters.empty? 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? status = status.reblog if status.reblog?
combined_text = [ combined_text = [

Loading…
Cancel
Save