diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-01-21 19:36:33 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-01-27 13:56:41 +0100 |
commit | 05415fa5d38e988d967cc783dd2eb0852852fce2 (patch) | |
tree | bfc59aee525aaef4b8de40316574872dd4a696a7 /app/services/post_status_service.rb | |
parent | 64cb9b691310a8b955e23b57ed0af51686f3ceb4 (diff) |
Make storing and displaying application used to toot opt-in
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r-- | app/services/post_status_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index e4b61ee35..24a853373 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -22,6 +22,7 @@ class PostStatusService < BaseService @options = options @text = @options[:text] || '' @in_reply_to = @options[:thread] + @options.delete(:application) unless @account.user&.setting_show_application return idempotency_duplicate if idempotency_given? && idempotency_duplicate? |