copy block and mute and update lists when detecting an account has moved
This commit is contained in:
parent
8c031e9f42
commit
91fcad0c85
4 changed files with 101 additions and 46 deletions
|
|
@ -109,7 +109,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
throw new ApiError(meta.errors.noSuchMoveTarget);
|
||||
});
|
||||
const destination = await this.getterService.getUser(moveTo.id);
|
||||
moveTo.uri = this.accountMoveService.getUserUri(destination)
|
||||
moveTo.uri = this.accountMoveService.getUserUri(destination);
|
||||
|
||||
// update local db
|
||||
await this.apPersonService.updatePerson(moveTo.uri);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue