summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/services/note/create.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index 94ca246e5b..771e9cade8 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -278,7 +278,6 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren
} 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') {
@@ -287,6 +286,9 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren
if (note.visibility == 'public') {
publishHybridTimelineStream(null, noteObj);
+ } else {
+ // Publish event to myself's stream
+ publishHybridTimelineStream(note.userId, noteObj);
}
}
}