Skip to content
Snippets Groups Projects
Commit 1e99a2bb authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Fix trying to PuSH-publish updates of remote removals

parent 7e90772c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment