From 2d3f8055eda905085bca1c5fba75eded78b24c35 Mon Sep 17 00:00:00 2001 From: Claire Date: Sat, 12 Feb 2022 14:39:01 +0100 Subject: [PATCH] Fix attempts at distributing Update activities for local-only posts --- app/services/update_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/update_status_service.rb b/app/services/update_status_service.rb index 63bd279891..76530a54c7 100644 --- a/app/services/update_status_service.rb +++ b/app/services/update_status_service.rb @@ -116,7 +116,7 @@ class UpdateStatusService < BaseService def broadcast_updates! DistributionWorker.perform_async(@status.id, { 'update' => true }) - ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id) + ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id) unless @status.local_only? end def queue_poll_notifications!