From 0db117b0ab00fffc0315be8676eee60892cd41f5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Oct 2023 10:45:48 +0900 Subject: [PATCH] Update NoteCreateService.ts --- packages/backend/src/core/NoteCreateService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 792e83b6d9..f8342c0986 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -496,11 +496,13 @@ export class NoteCreateService implements OnApplicationShutdown { } if (data.reply == null) { + // TODO: キャッシュ this.followingsRepository.findBy({ followeeId: user.id, notify: 'normal', }).then(followings => { for (const following of followings) { + // TODO: ワードミュート考慮 this.notificationService.createNotification(following.followerId, 'note', { noteId: note.id, }, user.id);