Fix attempts at distributing Update activities for local-only posts

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Claire 2022-02-12 14:39:01 +01:00
parent f61137b7ff
commit 2d3f8055ed
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class UpdateStatusService < BaseService
def broadcast_updates! def broadcast_updates!
DistributionWorker.perform_async(@status.id, { 'update' => true }) DistributionWorker.perform_async(@status.id, { 'update' => true })
ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id) ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id) unless @status.local_only?
end end
def queue_poll_notifications! def queue_poll_notifications!