Change: ローカルタイムラインを無効にしている時、/api/v1/timelines/publicタイムライン取得で「リモートユーザーのみ」指定も無効化 (#526)

* Change: ローカルタイムラインを無効にしている時、「リモートユーザーのみ」指定も無効化

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-02-06 10:03:41 +09:00 committed by GitHub
parent 35db342d5e
commit 57341a82ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 20 deletions

View file

@ -53,7 +53,7 @@ class PublicFeed
end
def remote_only?
options[:remote] && !options[:local]
options[:remote] && !options[:local] && Setting.enable_local_timeline
end
def hide_local_users?