about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-17 20:20:22 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:19 -0500
commit2ed0d54c85de5f1cfb4c80148437f664443463bb (patch)
tree6f847a38d18541f92c4838259a153f3423c0d23c
parent4b83bf5c08d58618dfa63b786016759eb5e4d6b6 (diff)
[API] Add support for manual publishing and quiet local notify
-rw-r--r--app/controllers/api/v1/statuses_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb
index 46433853b..cf21ee90c 100644
--- a/app/controllers/api/v1/statuses_controller.rb
+++ b/app/controllers/api/v1/statuses_controller.rb
@@ -43,6 +43,8 @@ class Api::V1::StatusesController < Api::BaseController
                                          spoiler_text: status_params[:spoiler_text],
                                          title: status_params[:title],
                                          footer: status_params[:footer],
+                                         notify: status_params[:notify],
+                                         publish: status_params[:publish],
                                          visibility: status_params[:visibility],
                                          local_only: status_params[:local_only],
                                          scheduled_at: status_params[:scheduled_at],
@@ -71,6 +73,8 @@ class Api::V1::StatusesController < Api::BaseController
                                          spoiler_text: status_params[:spoiler_text],
                                          title: status_params[:title],
                                          footer: status_params[:footer],
+                                         notify: status_params[:notify],
+                                         publish: status_params[:publish],
                                          visibility: status_params[:visibility],
                                          local_only: status_params[:local_only],
                                          scheduled_at: status_params[:scheduled_at],
@@ -123,6 +127,8 @@ class Api::V1::StatusesController < Api::BaseController
       :spoiler_text,
       :title,
       :footer,
+      :notify,
+      :publish,
       :visibility,
       :local_only,
       :scheduled_at,