summaryrefslogtreecommitdiff
path: root/src/services/note/create.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/note/create.ts')
-rw-r--r--src/services/note/create.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index f8d1c24087..b5e5c4e49c 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -375,11 +375,17 @@ async function publish(user: IUser, note: INote, noteObj: any, reply: INote, ren
// Publish note to local and hybrid timeline stream
if (note.visibility != 'home') {
- publishLocalTimelineStream(noteObj);
+ // Ignore if it is a reply
+ if (note.replyId == null) {
+ publishLocalTimelineStream(noteObj);
+ }
}
if (note.visibility == 'public') {
- publishHybridTimelineStream(null, noteObj);
+ // Ignore if it is a reply
+ if (note.replyId == null) {
+ publishHybridTimelineStream(null, noteObj);
+ }
} else {
// Publish event to myself's stream
publishHybridTimelineStream(note.userId, noteObj);