Have Follow
activities bypass availability (#27586)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
eb63ba61ba
commit
b0785c9423
2 changed files with 4 additions and 3 deletions
|
@ -71,7 +71,7 @@ class FollowService < BaseService
|
|||
if @target_account.local?
|
||||
LocalNotificationWorker.perform_async(@target_account.id, follow_request.id, follow_request.class.name, 'follow_request')
|
||||
elsif @target_account.activitypub?
|
||||
ActivityPub::DeliveryWorker.perform_async(build_json(follow_request), @source_account.id, @target_account.inbox_url)
|
||||
ActivityPub::DeliveryWorker.perform_async(build_json(follow_request), @source_account.id, @target_account.inbox_url, { 'bypass_availability' => true })
|
||||
end
|
||||
|
||||
follow_request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue