From 6b0109f3f98cdadd979b0ef993179eec826474bd Mon Sep 17 00:00:00 2001 From: Ember Date: Sat, 29 Jun 2024 14:58:55 +1000 Subject: [PATCH] hm --- app/controllers/api/v1/timelines/public_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/timelines/public_controller.rb b/app/controllers/api/v1/timelines/public_controller.rb index 0d3913d6decc7c..5013d41fa0941c 100644 --- a/app/controllers/api/v1/timelines/public_controller.rb +++ b/app/controllers/api/v1/timelines/public_controller.rb @@ -14,7 +14,7 @@ def show private def require_auth? - if !Setting.timeline_preview + if Setting.timeline_preview false if truthy_param?(:local) !Setting.timeline_preview_local elsif truthy_param?(:remote)