From 82f98a770b088a3ffb2c165fd22ccb0adadd57a7 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 19 Dec 2019 20:43:53 -0600 Subject: rework hide boosts / show only packmates options to work with timeline streaming --- app/controllers/api/v1/timelines/home_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/v1/timelines/home_controller.rb') diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb index 01d4e3360..bd3bac0fe 100644 --- a/app/controllers/api/v1/timelines/home_controller.rb +++ b/app/controllers/api/v1/timelines/home_controller.rb @@ -23,7 +23,7 @@ class Api::V1::Timelines::HomeController < Api::BaseController end def cached_home_statuses - if current_account&.user&.hides_boosts? + if current_account&.user&.hide_boosts cache_collection home_statuses.without_reblogs, Status else cache_collection home_statuses, Status -- cgit