about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/search_service.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/services/search_service.rb b/app/services/search_service.rb
index ff6cc2197..73ff785c9 100644
--- a/app/services/search_service.rb
+++ b/app/services/search_service.rb
@@ -24,11 +24,6 @@ class SearchService < BaseService
 
   def search_for
     results = Status.search_for(@query.gsub(/\A#/, ''), @account, @limit, @offset)
-    return results if results.empty?
-    account_ids         = results.pluck(:account_id)
-    account_domains     = results.map(&:account_domain)
-    preloaded_relations = relations_map_for_account(@account, account_ids, account_domains)
-    results.reject { |status| StatusFilter.new(status, @account, preloaded_relations).filtered? }
   end
 
   def perform_accounts_search!