comment code about textNoteList and eventRelayMap

OFF0 2 years ago
parent e9cc165738
commit b10a63b932
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -56,8 +56,8 @@ const subscription = pool.sub({
} }
}); });
const textNoteList = []; const textNoteList = []; // could use indexDB
const eventRelayMap = {}; const eventRelayMap = {}; // eventId: [relay1, relay2]
const hasEventTag = tag => tag[0] === 'e'; const hasEventTag = tag => tag[0] === 'e';
function handleTextNote(evt, relay) { function handleTextNote(evt, relay) {

Loading…
Cancel
Save