mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Fix trying to PuSH-publish updates of remote removals
This commit is contained in:
parent
7e90772c92
commit
1e99a2bb03
@ -11,8 +11,10 @@ class RemoveStatusService < BaseService
|
|||||||
|
|
||||||
status.destroy!
|
status.destroy!
|
||||||
|
|
||||||
HubPingWorker.perform_async(status.account.id)
|
if status.account.local?
|
||||||
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
|
HubPingWorker.perform_async(status.account.id)
|
||||||
|
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
Loading…
Reference in New Issue
Block a user