summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/NoteReadService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-04 14:06:57 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-04 14:06:57 +0900
commit30d699268450af375dabc2226ec4f3196a53f7f7 (patch)
treee6e62a4b19f190d2a51e4a5281c051b6911f97a1 /packages/backend/src/core/NoteReadService.ts
parentbuild(#10336): Storybook & Chromatic & msw (#10365) (diff)
downloadsharkey-30d699268450af375dabc2226ec4f3196a53f7f7.tar.gz
sharkey-30d699268450af375dabc2226ec4f3196a53f7f7.tar.bz2
sharkey-30d699268450af375dabc2226ec4f3196a53f7f7.zip
perf(backend): 通知をRedisに保存するように
Resolve #10168
Diffstat (limited to 'packages/backend/src/core/NoteReadService.ts')
-rw-r--r--packages/backend/src/core/NoteReadService.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/backend/src/core/NoteReadService.ts b/packages/backend/src/core/NoteReadService.ts
index 1bf0eb918f..7c6808fbd0 100644
--- a/packages/backend/src/core/NoteReadService.ts
+++ b/packages/backend/src/core/NoteReadService.ts
@@ -169,10 +169,6 @@ export class NoteReadService implements OnApplicationShutdown {
this.globalEventService.publishMainStream(userId, 'readAllChannels');
}
});
-
- this.notificationService.readNotificationByQuery(userId, {
- noteId: In([...readMentions.map(n => n.id), ...readSpecifiedNotes.map(n => n.id)]),
- });
}
}