mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix approval for remote quotes of local posts not being streamed to local users (#36317)
This commit is contained in:
parent
f03d1bb21f
commit
3ee1378932
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue