mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Only call all/none from TagFeed when present
This commit is contained in:
parent
7dd11b6bfc
commit
344f8544bc
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ class TagFeed < PublicFeed
|
||||||
scope = public_scope
|
scope = public_scope
|
||||||
|
|
||||||
scope.merge!(tagged_with_any_scope)
|
scope.merge!(tagged_with_any_scope)
|
||||||
scope.merge!(tagged_with_all_scope)
|
scope.merge!(tagged_with_all_scope) if options[:all].present?
|
||||||
scope.merge!(tagged_with_none_scope)
|
scope.merge!(tagged_with_none_scope) if options[:none].present?
|
||||||
scope.merge!(local_only_scope) if local_only?
|
scope.merge!(local_only_scope) if local_only?
|
||||||
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?
|
||||||
|
|
Loading…
Reference in a new issue