From 4c577a769a2224828ccb78e904644c126ebe5d02 Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Fri, 13 Jan 2023 16:43:16 -0800 Subject: [PATCH] Fix leak where edited, local-only statuses federated More info to come in release notes, coming very very soon. --- 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 c4c934976..a69db1379 100644 --- a/app/services/update_status_service.rb +++ b/app/services/update_status_service.rb @@ -125,7 +125,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!