*  Fix #4632

* Fix #4795
This commit is contained in:
MeiMei 2019-04-25 04:07:39 +09:00 committed by syuilo
parent 878cd18144
commit ee5720df2c
3 changed files with 31 additions and 3 deletions

View file

@ -240,7 +240,9 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
(noteObj as any).isFirstNote = true;
}
publishNotesStream(noteObj);
if (!silent) {
publishNotesStream(noteObj);
}
const nm = new NotificationManager(user, note);
const nmRelatedPromises = [];