chore: 自分へのリプライのみ走査するように (#12570)
This commit is contained in:
parent
33034b0e02
commit
bb38e62ae6
3 changed files with 10 additions and 3 deletions
|
@ -933,6 +933,9 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
|
||||
if (note.visibility === 'public' && note.userHost == null) {
|
||||
this.fanoutTimelineService.push('localTimelineWithReplies', note.id, 300, r);
|
||||
if (note.replyUserHost == null) {
|
||||
this.fanoutTimelineService.push(`localTimelineWithReplyTo:${note.replyUserId}`, note.id, 300 / 10, r);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.fanoutTimelineService.push(`userTimeline:${user.id}`, note.id, note.userHost == null ? meta.perLocalUserUserTimelineCacheMax : meta.perRemoteUserUserTimelineCacheMax, r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue