summaryrefslogtreecommitdiff
path: root/src/services/note/create.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-01-21 14:44:49 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-01-21 14:44:49 +0900
commite0874069bde871eee34001bc2a123453caf7fab5 (patch)
tree62ac0557ae3648cfbb1b250ae76a0e85d64a976a /src/services/note/create.ts
parentRemove unused import (diff)
downloadmisskey-e0874069bde871eee34001bc2a123453caf7fab5.tar.gz
misskey-e0874069bde871eee34001bc2a123453caf7fab5.tar.bz2
misskey-e0874069bde871eee34001bc2a123453caf7fab5.zip
[Server] リプライをタイムラインに流す以前の仕様に差し戻し
Resolve #3941
Diffstat (limited to 'src/services/note/create.ts')
-rw-r--r--src/services/note/create.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index 8d1ab181be..4b9f8215e1 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);