Fix leak where edited, local-only statuses federated

More info to come in release notes, coming very very soon.
This commit is contained in:
Darius Kazemi 2023-01-13 16:43:16 -08:00
parent 15e78b9a0a
commit 4c577a769a
1 changed files with 1 additions and 1 deletions

View File

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