diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 78be96f8..5e53c7fc 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -18,7 +18,7 @@ class SearchService < BaseService results[:accounts] = perform_accounts_search! if account_searchable? results[:statuses] = perform_statuses_search! if full_text_searchable? && !account.nil? results[:hashtags] = perform_hashtags_search! if hashtag_searchable? && !account.nil? - results[:groups] = perform_groups_search! if !account.nil? + results[:groups] = perform_groups_search! end end end