diff options
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r-- | app/services/remove_status_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb index c0055882d..4d07632d3 100644 --- a/app/services/remove_status_service.rb +++ b/app/services/remove_status_service.rb @@ -50,6 +50,8 @@ class RemoveStatusService < BaseService remove_from_remote_affected remove_from_remote_shared + @status.mentions.where(account_id: @options[:blocking]).destroy_all if @options[:blocking] + return unless @options[:unpublish] @status.update(published: false, expires_at: nil, local_only: @status.local?) |