import { JobQueue } from '../job-queue'
import { logger } from '../../helpers/logger'
import { getServerActor } from '../../helpers/utils'
-import { ServerModel } from '@server/models/server/server'
+import { ServerModel } from '../../models/server/server'
async function autoFollowBackIfNeeded (actorFollow: MActorFollowActors) {
if (!CONFIG.FOLLOWINGS.INSTANCE.AUTO_FOLLOW_BACK.ENABLED) return
await checkFollow(servers[1], servers[0], true)
await resetFollows(servers)
+
+ config.followings.instance.autoFollowBack.enabled = false
+ config.followers.instance.manualApproval = false
+ await updateCustomSubConfig(servers[1].url, servers[1].accessToken, config)
})
})