From 67516a07db44196cc4bb94bf94abe5c6f611cf07 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Mon, 13 Jan 2020 21:57:24 -0600 Subject: add new privacy option to auto-defederate after a given timespan + add options to defederate and/or delete past posts + add `defed_in`/`parent:defed_in`/`thread:defed_in` bangtags + ui indicator for posts marked for auto-defederation --- app/controllers/api/v1/statuses_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/api') diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb index c3f2422ce..255c48e62 100644 --- a/app/controllers/api/v1/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -53,6 +53,7 @@ class Api::V1::StatusesController < Api::BaseController visibility: status_params[:visibility], scheduled_at: status_params[:scheduled_at], delete_after: status_params[:delete_after], + defederate_after: status_params[:defederate_after], sharekey: status_params[:sharekey], application: doorkeeper_token.application, poll: status_params[:poll], @@ -100,6 +101,7 @@ class Api::V1::StatusesController < Api::BaseController :sharekey, :scheduled_at, :delete_after, + :defederate_after, :content_type, media_ids: [], poll: [ -- cgit