From 674519ac0a28491e7b3909bbd2d5a71ed6d83019 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 17 Feb 2024 19:42:59 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=E3=83=AA=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=83=A6=E3=83=BC=E3=82=B6=E3=81=AE=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=82=92=E3=83=AD=E3=82=B0=E3=81=97=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/queue/processors/DeleteAccountProcessorService.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts index ff74d7e86fb9..974fce2e21e1 100644 --- a/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts +++ b/packages/backend/src/queue/processors/DeleteAccountProcessorService.ts @@ -60,6 +60,11 @@ export class DeleteAccountProcessorService { @bindThis async logDelete(user: MiUser) { + if (user.host != null) { + this.logger.info(`Skipping logging account deletion of ${user.id} ...`); + return; + } + const profile = await this.userProfilesRepository.findOneByOrFail({ userId: user.id }); // data from src/server/api/endpoints/users/show.ts @@ -120,6 +125,8 @@ export class DeleteAccountProcessorService { email: profile.email, info, }); + + this.logger.info(`Finished logging account deletion of ${user.id} ...`); } @bindThis From 4c0242733de0c6a148942eff9f398c1e88b69576 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 17 Feb 2024 19:46:25 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs(changelog):=20=E3=83=AA=E3=83=A2?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=83=A6=E3=83=BC=E3=82=B6=E3=81=AE=E5=89=8A?= =?UTF-8?q?=E9=99=A4=E3=81=8C=E8=A8=98=E9=8C=B2=E3=81=95=E3=82=8C=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=AA=E3=82=8A=E3=81=BE?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdd1f0b67f47..e8e4baf420bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ ### Client - センシティブチャンネルのNoteの畳まれ方がソフトミュートと同様になりました。 +### Server +- リモートユーザの削除が記録されないようになりました。 + ## 2024.2.0 ### Note