Remove language filtering from hashtag timelines (#19563)
This commit is contained in:
parent
a529d6d93e
commit
26478f461c
|
@ -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],
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in New Issue