|
|
|
|
@ -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);
|
|
|
|
|
|