This commit is contained in:
boufni95 2023-12-08 20:45:13 +01:00
parent f344fdf067
commit 86faa59e22

View file

@ -101,6 +101,7 @@ 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
} }