From 980339b73e294e39b8fd650b5a4c25f39b31d00e Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 23 Jul 2020 18:34:48 -0500 Subject: [Federation] Add backend support for ActivityPub object titles --- app/controllers/api/v1/statuses_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/controllers/api/v1') diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb index b64bf3fa0..a02a496ba 100644 --- a/app/controllers/api/v1/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -41,6 +41,7 @@ class Api::V1::StatusesController < Api::BaseController media_ids: status_params[:media_ids], sensitive: status_params[:sensitive], spoiler_text: status_params[:spoiler_text], + title: status_params[:title], visibility: status_params[:visibility], local_only: status_params[:local_only], scheduled_at: status_params[:scheduled_at], @@ -67,6 +68,7 @@ class Api::V1::StatusesController < Api::BaseController media_ids: status_params[:media_ids], sensitive: status_params[:sensitive], spoiler_text: status_params[:spoiler_text], + title: status_params[:title], visibility: status_params[:visibility], local_only: status_params[:local_only], scheduled_at: status_params[:scheduled_at], @@ -116,6 +118,7 @@ class Api::V1::StatusesController < Api::BaseController :in_reply_to_id, :sensitive, :spoiler_text, + :title, :visibility, :local_only, :scheduled_at, -- cgit