From 88638cc2627d590dfbf031ea3bb23355ce708ec2 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 23 Dec 2020 00:42:36 -0500 Subject: [PATCH] Removed autofollow_inviter in BootstrapTimelineService MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - autofollow_inviter in BootstrapTimelineService --- app/services/bootstrap_timeline_service.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/services/bootstrap_timeline_service.rb b/app/services/bootstrap_timeline_service.rb index db2c83e5..e2ca328e 100644 --- a/app/services/bootstrap_timeline_service.rb +++ b/app/services/bootstrap_timeline_service.rb @@ -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)