Browse Source

Fix trying to PuSH-publish updates of remote removals

closed-social-glitch-2
Eugen 7 years ago
committed by GitHub
parent
commit
1e99a2bb03
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      app/services/remove_status_service.rb

+ 4
- 2
app/services/remove_status_service.rb View File

@ -11,8 +11,10 @@ class RemoveStatusService < BaseService
status.destroy!
HubPingWorker.perform_async(status.account.id)
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
if status.account.local?
HubPingWorker.perform_async(status.account.id)
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
end
end
private

Loading…
Cancel
Save