From 679a5664661180d656a760efb9a108cdc3b66805 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 9 Oct 2018 19:23:42 -0600 Subject: [PATCH] Update TimelineController --- app/Http/Controllers/TimelineController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/TimelineController.php b/app/Http/Controllers/TimelineController.php index 58665fb0a..39094c033 100644 --- a/app/Http/Controllers/TimelineController.php +++ b/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);