mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 02:49:03 +01:00
7d7844a47f
When a new user confirms their e-mail, bootstrap their home timeline by automatically following a set of accounts. By default, all local admin accounts (that are unlocked). Can be customized by new admin setting (comma-separated usernames, local and unlocked only)
9 lines
188 B
Ruby
9 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
class BootstrapTimelineWorker
|
|
include Sidekiq::Worker
|
|
|
|
def perform(account_id)
|
|
BootstrapTimelineService.new.call(Account.find(account_id))
|
|
end
|
|
end
|