From 109718f4f2a04edd44b4852c65c71f294c163210 Mon Sep 17 00:00:00 2001 From: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:18:30 +0900 Subject: [PATCH] chore: move comment position --- packages/backend/src/core/NoteCreateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index a51c3a1c1f..26c5e97197 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -656,6 +656,7 @@ export class NoteCreateService implements OnApplicationShutdown { if (this.isRenote(data)) { const type = this.isQuote(data) ? 'quote' : 'renote'; + // Notify if (data.renote.userHost === null) { const isThreadMuted = await this.noteThreadMutingsRepository.exists({ where: { @@ -665,7 +666,6 @@ export class NoteCreateService implements OnApplicationShutdown { }); if (!isThreadMuted) { - // Notify nm.push(data.renote.userId, type); // Publish event