diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-17 12:05:45 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-17 12:08:35 -0500 |
commit | e56e3d187f8ddd3db72fc90c5d200f552d5c1c04 (patch) | |
tree | 59204082c7f9731d301716f08865f8639149452c /app/controllers/api/v1/statuses | |
parent | 4a1b8bcf34ce834ee8c30f1ac94c29f4e56a2b41 (diff) |
[Filters] Merge thread muting and hiding into a single action
Diffstat (limited to 'app/controllers/api/v1/statuses')
-rw-r--r-- | app/controllers/api/v1/statuses/mutes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |