Fix approval for remote quotes of local posts not being streamed to local users (#36317)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user