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