Parcourir la source

Update PublicTimelineService, add video media scopes

Daniel Supernault il y a 5 ans
Parent
commit
7b00eba398
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)