Update InternalApiController

pull/1352/head
Daniel Supernault 6 years ago
parent 1814096f75
commit a0fdee5a72
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -113,10 +113,7 @@ class InternalApiController extends Controller
'type' 'type'
) )
->whereNull('uri') ->whereNull('uri')
->whereHas('media') ->whereIn('type', ['photo','photo:album', 'video'])
->whereHas('profile', function($q) {
return $q->whereNull('status');
})
->whereIsNsfw(false) ->whereIsNsfw(false)
->whereVisibility('public') ->whereVisibility('public')
->whereNotIn('profile_id', $following) ->whereNotIn('profile_id', $following)

Loading…
Cancel
Save