Skip to content
Extraits de code Groupes Projets
Valider 1e99a2bb rédigé par Eugen's avatar Eugen Validation de GitHub
Parcourir les fichiers

Fix trying to PuSH-publish updates of remote removals

parent 7e90772c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter