From 16b053b72d0afd1d5e2c5b5c0ea726d71fabab37 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 21 Feb 2021 04:40:32 +0000 Subject: [PATCH] Update list_controller.rb --- app/controllers/api/v1/timelines/list_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/timelines/list_controller.rb b/app/controllers/api/v1/timelines/list_controller.rb index 65e7244f..9ded30f4 100644 --- a/app/controllers/api/v1/timelines/list_controller.rb +++ b/app/controllers/api/v1/timelines/list_controller.rb @@ -33,7 +33,7 @@ class Api::V1::Timelines::ListController < Api::BaseController statuses = Status.where( account: @accounts, reply: false ).where( - 'updated_at > ?', 10.days.ago + 'created_at > ?', 10.days.ago ).paginate_by_id( limit_param(DEFAULT_STATUSES_LIMIT), params_slice(:max_id, :since_id, :min_id)