about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
Diffstat (limited to 'app/services')
-rw-r--r--app/services/post_status_service.rb2
-rw-r--r--app/services/update_status_service.rb1
2 files changed, 3 insertions, 0 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index c6a983001..e790a643b 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -16,6 +16,7 @@ class PostStatusService < BaseService
   # @option [Boolean] :local_only
   # @option [String] :spoiler_text
   # @option [String] :title
+  # @option [String] :footer
   # @option [String] :language
   # @option [String] :scheduled_at
   # @option [Hash] :poll Optional poll to attach
@@ -206,6 +207,7 @@ class PostStatusService < BaseService
       sensitive: @sensitive,
       spoiler_text: @options[:spoiler_text] || '',
       title: @options[:title],
+      footer: @options[:footer],
       visibility: @visibility,
       local_only: @options[:local_only],
       language: language_from_option(@options[:language]) || @account.user&.setting_default_language&.presence || LanguageDetector.instance.detect(@text, @account),
diff --git a/app/services/update_status_service.rb b/app/services/update_status_service.rb
index d0e61d153..355e8ca97 100644
--- a/app/services/update_status_service.rb
+++ b/app/services/update_status_service.rb
@@ -9,6 +9,7 @@ class UpdateStatusService < BaseService
     title
     text
     original_text
+    footer
     content_type
     language
     sensitive