Removed autofollow_inviter in BootstrapTimelineService
• Removed: - autofollow_inviter in BootstrapTimelineService
This commit is contained in:
parent
5b40f62498
commit
88638cc262
@ -4,17 +4,11 @@ class BootstrapTimelineService < BaseService
|
||||
def call(source_account)
|
||||
@source_account = source_account
|
||||
|
||||
autofollow_inviter!
|
||||
autofollow_bootstrap_timeline_accounts!
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def autofollow_inviter!
|
||||
return unless @source_account&.user&.invite&.autofollow?
|
||||
FollowService.new.call(@source_account, @source_account.user.invite.user.account)
|
||||
end
|
||||
|
||||
def autofollow_bootstrap_timeline_accounts!
|
||||
bootstrap_timeline_accounts.each do |target_account|
|
||||
FollowService.new.call(@source_account, target_account)
|
||||
|
Loading…
Reference in New Issue
Block a user