Update PublicTimelineService, add video media scopes

pull/1830/head
Daniel Supernault 6 years ago
parent 885a1258e8
commit 7b00eba398
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save