|
@@ -42,6 +42,7 @@ class SiteController extends Controller
|
|
$timeline = Status::whereIn('profile_id', $following)
|
|
$timeline = Status::whereIn('profile_id', $following)
|
|
->whereNotIn('profile_id', $filtered)
|
|
->whereNotIn('profile_id', $filtered)
|
|
->whereHas('media')
|
|
->whereHas('media')
|
|
|
|
+ ->whereVisibility('public')
|
|
->orderBy('id', 'desc')
|
|
->orderBy('id', 'desc')
|
|
->withCount(['comments', 'likes', 'shares'])
|
|
->withCount(['comments', 'likes', 'shares'])
|
|
->simplePaginate(20);
|
|
->simplePaginate(20);
|