Revert "Revert "Change public timelines to be filtered by current locale by default (mastodon/mastodon#19291)""

This reverts commit b6ab80b9c0.
This commit is contained in:
bgme 2022-11-06 17:28:30 +08:00
parent 85e727e22d
commit 783800c60e
5 changed files with 14 additions and 18 deletions

View file

@ -35,6 +35,7 @@ class Api::V1::Timelines::PublicController < Api::BaseController
def public_feed
PublicFeed.new(
current_account,
locale: content_locale,
local: truthy_param?(:local),
remote: truthy_param?(:remote),
only_media: truthy_param?(:only_media)