force follow if any error happens

This commit is contained in:
Namekuji 2023-04-17 12:03:26 -04:00
parent bc7e801063
commit 7f287e0c3a

View file

@ -129,11 +129,15 @@ export class AccountMoveService {
@bindThis
public async move(src: User, dst: User): Promise<void> {
// Copy blockings and mutings, and update lists
await Promise.all([
this.copyBlocking(src, dst),
this.copyMutings(src, dst),
this.updateLists(src, dst),
]);
try {
await Promise.all([
this.copyBlocking(src, dst),
this.copyMutings(src, dst),
this.updateLists(src, dst),
]);
} catch {
/* skip if any error happens */
}
// follow the new account and unfollow the old one
const proxy = await this.proxyAccountService.fetch();