mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:43:09 +02:00
parent
39cf80e19f
commit
70a06e30d5
4 changed files with 14 additions and 3 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -12,6 +12,17 @@
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## 13.x.x (unreleased)
|
||||||
|
|
||||||
|
### General
|
||||||
|
-
|
||||||
|
|
||||||
|
### Client
|
||||||
|
-
|
||||||
|
|
||||||
|
### Server
|
||||||
|
- アンテナのノート、チャンネルのノート、通知が正常に作成できないことがある問題を修正
|
||||||
|
|
||||||
## 13.11.1
|
## 13.11.1
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
|
@ -95,7 +95,7 @@ export class AntennaService implements OnApplicationShutdown {
|
||||||
this.redisClient.xadd(
|
this.redisClient.xadd(
|
||||||
`antennaTimeline:${antenna.id}`,
|
`antennaTimeline:${antenna.id}`,
|
||||||
'MAXLEN', '~', '200',
|
'MAXLEN', '~', '200',
|
||||||
`${this.idService.parse(note.id).date.getTime()}-*`,
|
'*',
|
||||||
'note', note.id);
|
'note', note.id);
|
||||||
|
|
||||||
this.globalEventService.publishAntennaStream(antenna.id, 'note', note);
|
this.globalEventService.publishAntennaStream(antenna.id, 'note', note);
|
||||||
|
|
|
@ -329,7 +329,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
||||||
this.redisClient.xadd(
|
this.redisClient.xadd(
|
||||||
`channelTimeline:${data.channel.id}`,
|
`channelTimeline:${data.channel.id}`,
|
||||||
'MAXLEN', '~', '1000',
|
'MAXLEN', '~', '1000',
|
||||||
`${this.idService.parse(note.id).date.getTime()}-*`,
|
'*',
|
||||||
'note', note.id);
|
'note', note.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ export class NotificationService implements OnApplicationShutdown {
|
||||||
const redisIdPromise = this.redisClient.xadd(
|
const redisIdPromise = this.redisClient.xadd(
|
||||||
`notificationTimeline:${notifieeId}`,
|
`notificationTimeline:${notifieeId}`,
|
||||||
'MAXLEN', '~', '300',
|
'MAXLEN', '~', '300',
|
||||||
`${this.idService.parse(notification.id).date.getTime()}-*`,
|
'*',
|
||||||
'data', JSON.stringify(notification));
|
'data', JSON.stringify(notification));
|
||||||
|
|
||||||
const packed = await this.notificationEntityService.pack(notification, notifieeId, {});
|
const packed = await this.notificationEntityService.pack(notification, notifieeId, {});
|
||||||
|
|
Loading…
Reference in a new issue