Browse Source

Update InternalApiController

Daniel Supernault 6 years ago
parent
commit
cd89925c45
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/Http/Controllers/InternalApiController.php

+ 0 - 3
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)