This commit is contained in:
tamaina 2023-08-06 15:38:12 +00:00
parent ff6e3cc2c9
commit f083cbbeb2
1 changed files with 2 additions and 2 deletions

View File

@ -333,14 +333,14 @@ export class NoteManager {
if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated', noteData); if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated', noteData);
if (!note || !note.value) { if (!note || !note.value) {
if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated (not found)', note, note?.value); if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated (not found)', id, note?.value);
this.connection?.send('un', { id }); this.connection?.send('un', { id });
this.captureing.delete(id); this.captureing.delete(id);
this.deleteComputed(id); this.deleteComputed(id);
this.updatedAt.delete(id); this.updatedAt.delete(id);
return; return;
} else { } else {
if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated (found)', note.value); if (this.isDebuggerEnabled) console.log('NoteManager: onStreamNoteUpdated (found)', id, note.value, { type, id, body });
} }
switch (type) { switch (type) {