From 6a9d2c98151f393ba7f391b41bfb5b03b4b89df1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 10 Sep 2018 02:07:13 +0900 Subject: [PATCH] Fix #2513 --- src/services/note/create.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/services/note/create.ts b/src/services/note/create.ts index 1ae363d91..7062bc481 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -269,13 +269,16 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren } if (['private', 'followers', 'specified'].includes(note.visibility)) { - // Publish event to myself's stream - publishUserStream(note.userId, 'note', await pack(note, user, { + const detailPackedNote = await pack(note, user, { detail: true - })); + }); + // Publish event to myself's stream + publishUserStream(note.userId, 'note', detailPackedNote); + publishHybridTimelineStream(note.userId, detailPackedNote); } else { // Publish event to myself's stream publishUserStream(note.userId, 'note', noteObj); + publishHybridTimelineStream(note.userId, noteObj); // Publish note to local and hybrid timeline stream if (note.visibility != 'home') {