mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
reject local accounts for backfilling because that makes no sense
This commit is contained in:
parent
387a52056b
commit
74db93114f
@ -5,6 +5,9 @@ class ActivityPub::AccountBackfillWorker
|
||||
include ExponentialBackoff
|
||||
|
||||
def perform(account_id, options = {})
|
||||
ActivityPub::AccountBackfillService.new.call(Account.find(account_id), **options.deep_symbolize_keys)
|
||||
account = Account.find(account_id)
|
||||
return if account.local?
|
||||
|
||||
ActivityPub::AccountBackfillService.new.call(account, **options.deep_symbolize_keys)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user