about summary refs log tree commit diff
path: root/app/services/post_status_service.rb
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-01-21 22:40:26 +0100
committerThibG <thib@sitedethib.com>2019-01-27 13:56:41 +0100
commitf938800ef4fcd7f63310e3f1d021c809f60ea448 (patch)
treed66345293a962ba11d8502f8fa97458284730a04 /app/services/post_status_service.rb
parent05415fa5d38e988d967cc783dd2eb0852852fce2 (diff)
Revert to storing application info, and display it to the author via API
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r--app/services/post_status_service.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index 24a853373..e4b61ee35 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -22,7 +22,6 @@ 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?