mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-23 14:35:41 +00:00
Fix attempts at distributing Update activities for local-only posts
This commit is contained in:
parent
f61137b7ff
commit
2d3f8055ed
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue