diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-12 14:39:01 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-02-12 15:41:18 +0100 |
commit | 2d3f8055eda905085bca1c5fba75eded78b24c35 (patch) | |
tree | cf80c81a0e8171aee982f4c9daa2b5a961f74eb9 /app | |
parent | f61137b7ffb97006ab811f8a4bce017b5f07f85d (diff) |
Fix attempts at distributing Update activities for local-only posts
Diffstat (limited to 'app')
-rw-r--r-- | app/services/update_status_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/update_status_service.rb b/app/services/update_status_service.rb index 63bd27989..76530a54c 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! |