deb
This commit is contained in:
parent
86faa59e22
commit
35495bd799
1 changed files with 1 additions and 1 deletions
|
|
@ -101,12 +101,12 @@ export default class Handler {
|
||||||
log("up to date with nostr events")
|
log("up to date with nostr events")
|
||||||
})
|
})
|
||||||
sub.on('event', async (e) => {
|
sub.on('event', async (e) => {
|
||||||
log(e)
|
|
||||||
if (e.kind !== 21000 || !e.pubkey) {
|
if (e.kind !== 21000 || !e.pubkey) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const app = apps[e.pubkey]
|
const app = apps[e.pubkey]
|
||||||
if (!app) {
|
if (!app) {
|
||||||
|
log("unknown app key", e.pubkey)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const eventId = e.id
|
const eventId = e.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue