From e56e3d187f8ddd3db72fc90c5d200f552d5c1c04 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 17 Sep 2020 12:05:45 -0500 Subject: [Filters] Merge thread muting and hiding into a single action --- app/controllers/api/v1/statuses/mutes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api/v1') diff --git a/app/controllers/api/v1/statuses/mutes_controller.rb b/app/controllers/api/v1/statuses/mutes_controller.rb index 73d9df734..418c19840 100644 --- a/app/controllers/api/v1/statuses/mutes_controller.rb +++ b/app/controllers/api/v1/statuses/mutes_controller.rb @@ -9,7 +9,7 @@ class Api::V1::Statuses::MutesController < Api::BaseController before_action :set_conversation def create - MuteConversationService.new.call(current_account, @status.conversation, hidden: truthy_param?(:hide)) + MuteConversationService.new.call(current_account, @status.conversation) @mutes_map = { @conversation.id => true } render json: @status, serializer: REST::StatusSerializer -- cgit