From cd89925c45aff53e83d9032992790c53b7e7be01 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 19 Nov 2018 21:06:55 -0700 Subject: [PATCH] Update InternalApiController --- app/Http/Controllers/InternalApiController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index 9b1b3af4..d724be0c 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -146,9 +146,6 @@ class InternalApiController extends Controller $posts = Status::select('id', 'caption', 'profile_id') ->whereHas('media') - ->whereHas('profile', function($q) { - $q->where('is_private', false); - }) ->whereIsNsfw(false) ->whereVisibility('public') ->whereNotIn('profile_id', $following)