class attr access

This commit is contained in:
sneakers-the-rat 2025-05-03 03:43:34 -07:00
parent 05eb914bb6
commit 8929f5251d
No known key found for this signature in database
GPG Key ID: 6DCB96EF1E4D232D

View File

@ -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| 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'] [target_account.id, list_id, 'list']
end 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 end
destroy! destroy!