From 8a7364327799bfcc547f6f5baf508e7994c635a1 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 11 May 2021 22:12:10 -0600 Subject: [PATCH] Update PublicApiController, increase public timeline to 6 months from 3 --- app/Http/Controllers/PublicApiController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/PublicApiController.php b/app/Http/Controllers/PublicApiController.php index dabe5a6d9..1f52f7267 100644 --- a/app/Http/Controllers/PublicApiController.php +++ b/app/Http/Controllers/PublicApiController.php @@ -314,7 +314,7 @@ class PublicApiController extends Controller ->whereNotIn('profile_id', $filtered) ->whereLocal(true) ->whereScope('public') - ->where('created_at', '>', now()->subMonths(3)) + ->where('created_at', '>', now()->subMonths(6)) ->orderBy('created_at', 'desc') ->limit($limit) ->get(); @@ -343,7 +343,7 @@ class PublicApiController extends Controller ->with('profile', 'hashtags', 'mentions') ->whereLocal(true) ->whereScope('public') - ->where('created_at', '>', now()->subMonths(3)) + ->where('created_at', '>', now()->subMonths(6)) ->orderBy('created_at', 'desc') ->simplePaginate($limit); }