summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/NotificationService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-04-10 10:03:53 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-04-10 10:03:53 +0900
commit70a06e30d52cfacdfdc4122f9c1a9e09c4bc7e1d (patch)
tree19019dbcee117cb3c5e2d6ac792cf1a32629aac6 /packages/backend/src/core/NotificationService.ts
parentfix(backend): イベント用redis分離が上手く動かない問題を修正 (diff)
downloadsharkey-70a06e30d52cfacdfdc4122f9c1a9e09c4bc7e1d.tar.gz
sharkey-70a06e30d52cfacdfdc4122f9c1a9e09c4bc7e1d.tar.bz2
sharkey-70a06e30d52cfacdfdc4122f9c1a9e09c4bc7e1d.zip
fix(backend): アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
Fix #10482
Diffstat (limited to 'packages/backend/src/core/NotificationService.ts')
-rw-r--r--packages/backend/src/core/NotificationService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/NotificationService.ts b/packages/backend/src/core/NotificationService.ts
index c44dddea41..c7dac061b2 100644
--- a/packages/backend/src/core/NotificationService.ts
+++ b/packages/backend/src/core/NotificationService.ts
@@ -99,7 +99,7 @@ export class NotificationService implements OnApplicationShutdown {
const redisIdPromise = this.redisClient.xadd(
`notificationTimeline:${notifieeId}`,
'MAXLEN', '~', '300',
- `${this.idService.parse(notification.id).date.getTime()}-*`,
+ '*',
'data', JSON.stringify(notification));
const packed = await this.notificationEntityService.pack(notification, notifieeId, {});