Fix that blocking was not working on link timeline (#32625)

pull/32628/head
Jeong Arm 2 months ago committed by GitHub
parent 16597fa735
commit 18659f8163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -19,6 +19,8 @@ class LinkFeed < PublicFeed
scope.merge!(discoverable) scope.merge!(discoverable)
scope.merge!(attached_to_preview_card) scope.merge!(attached_to_preview_card)
scope.merge!(account_filters_scope) if account?
scope.merge!(language_scope) if account&.chosen_languages.present?
scope.to_a_paginated_by_id(limit, max_id: max_id, since_id: since_id, min_id: min_id) scope.to_a_paginated_by_id(limit, max_id: max_id, since_id: since_id, min_id: min_id)
end end

Loading…
Cancel
Save