2
0

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

This commit is contained in:
Claire
2025-10-01 15:51:43 +02:00
committed by GitHub
parent f03d1bb21f
commit 3ee1378932

View File

@@ -36,6 +36,9 @@ class ActivityPub::Activity::QuoteRequest < ActivityPub::Activity
# Ensure the user is notified # Ensure the user is notified
LocalNotificationWorker.perform_async(quoted_status.account_id, status.quote.id, 'Quote', 'quote') 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 end
def import_instrument(quoted_status) def import_instrument(quoted_status)