diff --git a/app/models/follow_request.rb b/app/models/follow_request.rb index 34e1d63f98..41403ded1c 100644 --- a/app/models/follow_request.rb +++ b/app/models/follow_request.rb @@ -41,7 +41,7 @@ class FollowRequest < ApplicationRecord MergeWorker.push_bulk(List.where(account: account).joins(:list_accounts).where(list_accounts: { account_id: target_account.id }).pluck(:id)) do |list_id| [target_account.id, list_id, 'list'] end - ActivityPub::AccountBackfillWorker.perform_async(target_account.id) if is_first_follow & ActivityPub::AccountBackfillService.ENABLED + ActivityPub::AccountBackfillWorker.perform_async(target_account.id) if is_first_follow & ActivityPub::AccountBackfillService::ENABLED end destroy!