This commit is contained in:
syuilo 2021-03-23 21:44:12 +09:00
parent a284e8c5eb
commit 62cc14c93b

View file

@ -328,10 +328,6 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
// Pack the note // Pack the note
const noteObj = await Notes.pack(note); const noteObj = await Notes.pack(note);
if (user.notesCount === 0) {
(noteObj as any).isFirstNote = true;
}
publishNotesStream(noteObj); publishNotesStream(noteObj);
const nm = new NotificationManager(user, note); const nm = new NotificationManager(user, note);