Fix approval for remote quotes of local posts not being streamed to local users (#36317)

pull/36321/head
Claire 1 month ago committed by GitHub
parent f03d1bb21f
commit 3ee1378932
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -36,6 +36,9 @@ class ActivityPub::Activity::QuoteRequest < ActivityPub::Activity
# Ensure the user is notified
LocalNotificationWorker.perform_async(quoted_status.account_id, status.quote.id, 'Quote', 'quote')
# Ensure local followers get to see the post updated with approval
DistributionWorker.perform_async(status.id, { 'update' => true, 'skip_notifications' => true })
end
def import_instrument(quoted_status)

Loading…
Cancel
Save