about summary refs log tree commit diff
path: root/app/controllers/api/v1/timelines/list_controller.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-19 20:43:53 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-19 20:48:20 -0600
commit82f98a770b088a3ffb2c165fd22ccb0adadd57a7 (patch)
treea87c075a92305ef696cedc6c255c963bf283c0ec /app/controllers/api/v1/timelines/list_controller.rb
parent32d998b62333a768af3a274d265fd02483ce15de (diff)
rework hide boosts / show only packmates options to work with timeline streaming
Diffstat (limited to 'app/controllers/api/v1/timelines/list_controller.rb')
-rw-r--r--app/controllers/api/v1/timelines/list_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/timelines/list_controller.rb b/app/controllers/api/v1/timelines/list_controller.rb
index 15934adb3..7eb656745 100644
--- a/app/controllers/api/v1/timelines/list_controller.rb
+++ b/app/controllers/api/v1/timelines/list_controller.rb
@@ -25,7 +25,7 @@ class Api::V1::Timelines::ListController < Api::BaseController
   end
 
   def cached_list_statuses
-    if current_account&.user&.hides_boosts?
+    if current_account&.user&.hide_boosts
       cache_collection list_statuses.without_reblogs, Status
     else
       cache_collection list_statuses, Status