Change: ローカルタイムラインを無効にしている時、/api/v1/timelines/public
タイムライン取得で「リモートユーザーのみ」指定も無効化 (#526)
* Change: ローカルタイムラインを無効にしている時、「リモートユーザーのみ」指定も無効化 * Fix test
This commit is contained in:
parent
35db342d5e
commit
57341a82ac
4 changed files with 69 additions and 20 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue