mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 13:23:09 +02:00
fix bug
This commit is contained in:
parent
a284e8c5eb
commit
62cc14c93b
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue