diff options
| author | Namekuji <11836635+nmkj-io@users.noreply.github.com> | 2023-04-08 01:16:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-08 14:16:26 +0900 |
| commit | 25ebb73756017174c3197376b7485e5e7fcb5fd1 (patch) | |
| tree | 9f313b388dd38db54c66c66554b10255450832ba /packages/backend/src/core/AccountUpdateService.ts | |
| parent | enhance(backend): Redisにチャンネル投稿がない場合はDBから持... (diff) | |
| download | sharkey-25ebb73756017174c3197376b7485e5e7fcb5fd1.tar.gz sharkey-25ebb73756017174c3197376b7485e5e7fcb5fd1.tar.bz2 sharkey-25ebb73756017174c3197376b7485e5e7fcb5fd1.zip | |
feat: account migration (#10507)
* add Move activity
* add endpoint to move from local to remote
* follow move activity coming to inbox
* fix move endpoint
* add known-as endpoint to create account alias
* add migration page
* add route to migration page
* add move and known-as endpoints
* fix dependnecies error
* fix new endpoints
* fix move activity id
* fix refollow
* add movedToUri and alsoKnownAs to api
* fix moveToUri indicator
* fix missing context
* add chengelog
* rename MkMoved to MkAccountMoved
* add missing semicolon
* fix targetUri
* fix followings query
* remove redundant null check
Diffstat (limited to 'packages/backend/src/core/AccountUpdateService.ts')
| -rw-r--r-- | packages/backend/src/core/AccountUpdateService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/AccountUpdateService.ts b/packages/backend/src/core/AccountUpdateService.ts index d8ba7b169d..b146fc66be 100644 --- a/packages/backend/src/core/AccountUpdateService.ts +++ b/packages/backend/src/core/AccountUpdateService.ts @@ -29,7 +29,7 @@ export class AccountUpdateService { public async publishToFollowers(userId: User['id']) { const user = await this.usersRepository.findOneBy({ id: userId }); if (user == null) throw new Error('user not found'); - + // フォロワーがリモートユーザーかつ投稿者がローカルユーザーならUpdateを配信 if (this.userEntityService.isLocalUser(user)) { const content = this.apRendererService.addContext(this.apRendererService.renderUpdate(await this.apRendererService.renderPerson(user), user)); |