From e0874069bde871eee34001bc2a123453caf7fab5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 Jan 2019 14:44:49 +0900 Subject: [PATCH] =?UTF-8?q?[Server]=20=E3=83=AA=E3=83=97=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=82=92=E3=82=BF=E3=82=A4=E3=83=A0=E3=83=A9=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=81=AB=E6=B5=81=E3=81=99=E4=BB=A5=E5=89=8D=E3=81=AE=E4=BB=95?= =?UTF-8?q?=E6=A7=98=E3=81=AB=E5=B7=AE=E3=81=97=E6=88=BB=E3=81=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve #3941 --- src/services/note/create.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/services/note/create.ts b/src/services/note/create.ts index 8d1ab181b..4b9f8215e 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -383,17 +383,11 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren // Publish note to local and hybrid timeline stream if (note.visibility != 'home') { - // Ignore if it is a reply - if (note.replyId == null) { - publishLocalTimelineStream(noteObj); - } + publishLocalTimelineStream(noteObj); } if (note.visibility == 'public') { - // Ignore if it is a reply - if (note.replyId == null) { - publishHybridTimelineStream(null, noteObj); - } + publishHybridTimelineStream(null, noteObj); } else { // Publish event to myself's stream publishHybridTimelineStream(note.userId, noteObj);