Browse Source

Update PublicTimelineService, add video media scopes

Daniel Supernault 5 years ago
parent
commit
7b00eba398
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Services/PublicTimelineService.php

+ 1 - 1
app/Services/PublicTimelineService.php

@@ -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)