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

This commit is contained in:
Jeong Arm 2024-10-22 08:46:32 -04:00 committed by GitHub
parent 16597fa735
commit 18659f8163
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,8 @@ class LinkFeed < PublicFeed
scope.merge!(discoverable)
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)
end