Fix: Mastodon v2.8.0 のフォローリストがインポートできない (#4817)
This commit is contained in:
		
							parent
							
								
									e45aa0532c
								
							
						
					
					
						commit
						2526b86ec5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -34,7 +34,8 @@ export async function importFollowing(job: Bull.Job, done: any): Promise<void> { | |||
| 		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, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue