Update PublicApiController

This commit is contained in:
Daniel Supernault 2019-04-06 23:08:59 -06:00
parent 1e88bb4b63
commit bb31b54b41
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -357,8 +357,6 @@ class PublicApiController extends Controller
'created_at',
'updated_at'
)->whereIn('type', ['photo', 'photo:album', 'video', 'video:album'])
->whereLocal(true)
->whereNull('uri')
->where('id', $dir, $id)
->whereIn('profile_id', $following)
->whereNotIn('profile_id', $filtered)
@ -386,8 +384,6 @@ class PublicApiController extends Controller
'created_at',
'updated_at'
)->whereIn('type', ['photo', 'photo:album', 'video', 'video:album'])
->whereLocal(true)
->whereNull('uri')
->whereIn('profile_id', $following)
->whereNotIn('profile_id', $filtered)
->whereNull('in_reply_to_id')