From 9b677f099e473059b15b69f6d42ab94af5f3a224 Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Tue, 22 Oct 2024 08:46:32 -0400 Subject: [PATCH] Fix that blocking was not working on link timeline (#32625) --- app/models/link_feed.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/link_feed.rb b/app/models/link_feed.rb index 32efb331b6..29ea430cc0 100644 --- a/app/models/link_feed.rb +++ b/app/models/link_feed.rb @@ -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