mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Fix trying to PuSH-publish updates of remote removals
This commit is contained in:
parent
7e90772c92
commit
1e99a2bb03
1 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue