* Remove: #609 NGワード設定の2項目を削除 * Fix test
This commit is contained in:
parent
dd7a2a6bbf
commit
b787b130a2
9 changed files with 5 additions and 79 deletions
|
@ -26,7 +26,7 @@ class PublicFeed
|
|||
scope.merge!(without_replies_scope) unless with_replies?
|
||||
scope.merge!(without_reblogs_scope) unless with_reblogs?
|
||||
scope.merge!(local_only_scope) if local_only?
|
||||
scope.merge!(remote_only_scope) if remote_only? || hide_local_users?
|
||||
scope.merge!(remote_only_scope) if remote_only?
|
||||
scope.merge!(account_filters_scope) if account?
|
||||
scope.merge!(media_only_scope) if media_only?
|
||||
scope.merge!(language_scope) if account&.chosen_languages.present?
|
||||
|
@ -56,10 +56,6 @@ class PublicFeed
|
|||
options[:remote] && !options[:local] && Setting.enable_local_timeline
|
||||
end
|
||||
|
||||
def hide_local_users?
|
||||
@account.nil? && Setting.hide_local_users_for_anonymous
|
||||
end
|
||||
|
||||
def account?
|
||||
account.present?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue