mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 14:03:16 +00:00
Update InternalApiController
This commit is contained in:
parent
1814096f75
commit
a0fdee5a72
1 changed files with 1 additions and 4 deletions
|
@ -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…
Reference in a new issue