diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-10 10:03:53 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-10 10:03:53 +0900 |
| commit | 70a06e30d52cfacdfdc4122f9c1a9e09c4bc7e1d (patch) | |
| tree | 19019dbcee117cb3c5e2d6ac792cf1a32629aac6 /packages/backend/src/core/NotificationService.ts | |
| parent | fix(backend): イベント用redis分離が上手く動かない問題を修正 (diff) | |
| download | sharkey-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.ts | 2 |
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, {}); |