Remove language filtering from hashtag timelines (#19563)

lolsob-rspec
Eugen Rochko 2022-10-30 21:29:23 +01:00 committed by GitHub
parent 8c94b641a9
commit fdfe1eae4a
2 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ class Api::V1::Timelines::TagController < Api::BaseController
TagFeed.new( TagFeed.new(
@tag, @tag,
current_account, current_account,
locale: content_locale,
any: params[:any], any: params[:any],
all: params[:all], all: params[:all],
none: params[:none], none: params[:none],

View File

@ -33,7 +33,6 @@ class TagFeed < PublicFeed
scope.merge!(remote_only_scope) if remote_only? scope.merge!(remote_only_scope) if remote_only?
scope.merge!(account_filters_scope) if account? scope.merge!(account_filters_scope) if account?
scope.merge!(media_only_scope) if media_only? scope.merge!(media_only_scope) if media_only?
scope.merge!(language_scope)
scope.cache_ids.to_a_paginated_by_id(limit, max_id: max_id, since_id: since_id, min_id: min_id) scope.cache_ids.to_a_paginated_by_id(limit, max_id: max_id, since_id: since_id, min_id: min_id)
end end