Skip to content

アカウントの引っ越しで、プロキシアカウントが移行先のリモートユーザーをフォローする(#344 の取り残し) #468

Closed

Description

@pooza

起きていること

#344(ca5023a808)で、プロキシアカウントがリモートユーザーをフォローする処理を止めた(UserListService.push の createFollowJob をコメントアウト)。⚠ 同じ処理がもう 1 か所残っている。

packages/backend/src/core/AccountMoveService.ts(daisskey ブランチ・2026-11-19 時点で 283〜286 行):

// Have the proxy account follow the new account in the same way as UserListService.push
if (this.userEntityService.isRemoteUser(dst)) {
	const proxy = await this.systemAccountService.fetch('proxy');
	this.queueService.createFollowJob([{ from: { id: proxy.id }, to: { id: dst.id } }]);
}

リモートのアカウントが引っ越したとき、移行元をリストに入れていた利用者がいると、リストの登録を移行先へ引き継ぐ。その直後に、**プロキシアカウントが移行先をフォローする。**コメントにも「UserListService.push と同じ方法で」とあり、#344 で止めた箇所と対になる処理。

やること

#344 と同じく、createFollowJob の 1 行をコメントアウトする(「リモートユーザーのフォローは行わない」)。

経緯

2026-11-19、capsicum の同期のあとの相談(お知らせボットの #467)の流れで、#344 の修正を確かめていて気付いた。#467 と同じタイミングで直す(pooza)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions