forked from mirror/pixelfed
Update InternalApiController
This commit is contained in:
parent
66f4f05419
commit
cd89925c45
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue