|
|
@ -29,7 +29,10 @@ class DiscoverController extends Controller
|
|
|
|
->whereIn('filter_type', ['mute', 'block'])
|
|
|
|
->whereIn('filter_type', ['mute', 'block'])
|
|
|
|
->pluck('filterable_id');
|
|
|
|
->pluck('filterable_id');
|
|
|
|
$following->push($pid);
|
|
|
|
$following->push($pid);
|
|
|
|
$following->push($filtered);
|
|
|
|
|
|
|
|
|
|
|
|
if($filtered->count() > 0) {
|
|
|
|
|
|
|
|
$following->push($filtered);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$people = Profile::inRandomOrder()
|
|
|
|
$people = Profile::inRandomOrder()
|
|
|
|
->whereNotIn('id', $following)
|
|
|
|
->whereNotIn('id', $following)
|
|
|
|