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 Claire
parent c13b8026f0
commit 9b677f099e
1 changed files with 2 additions and 0 deletions

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