Update PublicTimelineService, add video media scopes

This commit is contained in:
Daniel Supernault 2019-11-22 22:40:29 -07:00
parent 885a1258e8
commit 7b00eba398
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -52,7 +52,7 @@ class PublicTimelineService {
$ids = Status::whereNull('uri')
->whereNull('in_reply_to_id')
->whereNull('reblog_of_id')
->whereIn('type', ['photo', 'photo:album'])
->whereIn('type', ['photo', 'photo:album', 'video', 'video:album', 'photo:video:album'])
->whereScope('public')
->latest()
->limit($limit)