Fix: Mastodon v2.8.0 のフォローリストがインポートできない (#4817)
This commit is contained in:
@@ -34,7 +34,8 @@ export async function importFollowing(job: Bull.Job, done: any): Promise<void> {
|
|||||||
linenum++;
|
linenum++;
|
||||||
|
|
||||||
try {
|
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({
|
let target = isSelfHost(host) ? await User.findOne({
|
||||||
host: null,
|
host: null,
|
||||||
|
Reference in New Issue
Block a user