1
0

upd: update notes live on feed

This commit is contained in:
Mar0xy
2023-09-22 23:44:07 +02:00
parent d869d7aa05
commit 5d40ca6568
3 changed files with 24 additions and 2 deletions
+3 -1
View File
@@ -525,7 +525,9 @@ export class NoteEditService implements OnApplicationShutdown {
// Pack the note
const noteObj = await this.noteEntityService.pack(note);
this.globalEventService.publishNotesStream(noteObj);
this.globalEventService.publishNoteStream(note.id, 'updated', {
updatedAt: note.updatedAt!,
});
this.roleService.addNoteToRoleTimeline(noteObj);