This commit is contained in:
syuilo 2018-06-05 22:54:03 +09:00
parent e28d1c7569
commit dfa2c951d6
7 changed files with 72 additions and 23 deletions

View file

@ -221,7 +221,9 @@ export default async (user: IUser, data: {
}
// Publish note to global timeline stream
publishGlobalTimelineStream(noteObj);
if (note.visibility == 'public' && note.replyId == null) {
publishGlobalTimelineStream(noteObj);
}
if (note.visibility == 'specified') {
data.visibleUsers.forEach(async u => {