mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update PublicTimelineService, add video media scopes
This commit is contained in:
parent
885a1258e8
commit
7b00eba398
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue