about summary refs log tree commit diff
path: root/app/services/update_status_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/update_status_service.rb')
-rw-r--r--app/services/update_status_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/update_status_service.rb b/app/services/update_status_service.rb
index cedd534ea..1765f95cc 100644
--- a/app/services/update_status_service.rb
+++ b/app/services/update_status_service.rb
@@ -41,6 +41,7 @@ class UpdateStatusService < BaseService
     @params[:published]     = true if @status.published?
     @params[:edited]      ||= 1 + @status.edited if @params[:published].presence || @status.published?
     @params[:expires_at]  ||= Time.now.utc + (@status.expires_at - @status.created_at) if @status.expires_at.present?
+    @params[:sensitive]     = true if @account.sensitized?
 
     @params[:originally_local_only] = @params[:local_only] unless @status.published?