Update InternalApiController

This commit is contained in:
Daniel Supernault 2018-11-19 21:06:55 -07:00
parent 66f4f05419
commit cd89925c45
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -146,9 +146,6 @@ class InternalApiController extends Controller
$posts = Status::select('id', 'caption', 'profile_id') $posts = Status::select('id', 'caption', 'profile_id')
->whereHas('media') ->whereHas('media')
->whereHas('profile', function($q) {
$q->where('is_private', false);
})
->whereIsNsfw(false) ->whereIsNsfw(false)
->whereVisibility('public') ->whereVisibility('public')
->whereNotIn('profile_id', $following) ->whereNotIn('profile_id', $following)