diff --git a/src/queue/processors/db/import-following.ts b/src/queue/processors/db/import-following.ts index 069afa74c4..3b3be99a36 100644 --- a/src/queue/processors/db/import-following.ts +++ b/src/queue/processors/db/import-following.ts @@ -34,7 +34,8 @@ export async function importFollowing(job: Bull.Job, done: any): Promise { linenum++; try { - const { username, host } = parseAcct(line.trim()); + const acct = line.split(',')[0].trim(); + const { username, host } = parseAcct(acct); let target = isSelfHost(host) ? await User.findOne({ host: null,