[Server] リプライをタイムラインに流す以前の仕様に差し戻し

Resolve #3941
This commit is contained in:
syuilo 2019-01-21 14:44:49 +09:00
parent fa6fe83b28
commit 769c342438

View File

@ -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);