|
|
@ -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
|
|
|
|