Browse Source

Update TimelineController

Daniel Supernault 6 years ago
parent
commit
679a566466
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/TimelineController.php

+ 1 - 0
app/Http/Controllers/TimelineController.php

@@ -29,6 +29,7 @@ class TimelineController extends Controller
                   ->pluck('filterable_id');
         $timeline = Status::whereIn('profile_id', $following)
                   ->whereNotIn('profile_id', $filtered)
+                  ->whereVisibility('public')
                   ->orderBy('created_at', 'desc')
                   ->withCount(['comments', 'likes'])
                   ->simplePaginate(20);