From f0a2c3ce7647f8bb99f0e39bf57f12f32658f042 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Oct 2023 02:34:04 +0900 Subject: [PATCH] Update NoteCreateService.ts --- packages/backend/src/core/NoteCreateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 5bb423ae35..6fff598aeb 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -800,7 +800,7 @@ export class NoteCreateService implements OnApplicationShutdown { private async pushToTl(note: MiNote, user: { id: MiUser['id']; host: MiUser['host']; }) { const redisPipeline = this.redisClient.pipeline(); - if (note.replyId) { + if (note.replyId && note.replyUserId !== note.userId) { if (note.visibility === 'public' || note.visibility === 'home') { redisPipeline.xadd( `userTimelineWithReplies:${user.id}`,