mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00: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
|
include ExponentialBackoff
|
||||||
|
|
||||||
def perform(account_id, options = {})
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue