From ec3e723a637893aeabdeda44960eb06c46a1cfc3 Mon Sep 17 00:00:00 2001 From: Shlee Date: Mon, 12 Jan 2026 19:16:18 +0700 Subject: [PATCH] Update HashtagInsertFanoutPipeline.php --- app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php b/app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php index 3c7a7eb07..cef73c311 100644 --- a/app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php +++ b/app/Jobs/HomeFeedPipeline/HashtagInsertFanoutPipeline.php @@ -113,7 +113,12 @@ class HashtagInsertFanoutPipeline implements ShouldBeUniqueUntilProcessing, Shou $skipIds = UserDomainBlock::where('domain', $domain)->pluck('profile_id')->toArray(); } - $filters = UserFilter::whereFilterableType('App\Profile')->whereFilterableId($status['account']['id'])->whereIn('filter_type', ['mute', 'block'])->pluck('user_id')->toArray(); + $filters = UserFilter::whereFilterableType('App\Profile') + ->whereFilterableId($status['account']['id']) + ->whereIn('filter_type', ['mute', 'block']) + ->join('profiles', 'user_filters.user_id', '=', 'profiles.user_id') + ->pluck('profiles.id') + ->toArray(); if ($filters && count($filters)) { $skipIds = array_merge($skipIds, $filters);