diff --git a/app/Http/Controllers/Api/ApiV1Controller.php b/app/Http/Controllers/Api/ApiV1Controller.php index 9e8f7ef23..8397faa66 100644 --- a/app/Http/Controllers/Api/ApiV1Controller.php +++ b/app/Http/Controllers/Api/ApiV1Controller.php @@ -2155,6 +2155,12 @@ class ApiV1Controller extends Controller return $following->push($pid)->toArray(); }); + $muted = UserFilterService::mutes($pid); + + if($muted && count($muted)) { + $following = array_diff($following, $muted); + } + if($min || $max) { $dir = $min ? '>' : '<'; $id = $min ?? $max;