Fix attempts at distributing Update activities for local-only posts
parent
bd02339df5
commit
89e2e403ce
|
@ -116,7 +116,7 @@ class UpdateStatusService < BaseService
|
||||||
|
|
||||||
def broadcast_updates!
|
def broadcast_updates!
|
||||||
DistributionWorker.perform_async(@status.id, { 'update' => true })
|
DistributionWorker.perform_async(@status.id, { 'update' => true })
|
||||||
ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id)
|
ActivityPub::StatusUpdateDistributionWorker.perform_async(@status.id) unless @status.local_only?
|
||||||
end
|
end
|
||||||
|
|
||||||
def queue_poll_notifications!
|
def queue_poll_notifications!
|
||||||
|
|
Loading…
Reference in New Issue