diff --git a/src/pipeline.ts b/src/pipeline.ts index 730e333..d36905f 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -54,7 +54,7 @@ async function encounterEvent(event: NostrEvent, signal: AbortSignal): Promise { - const [user] = await eventsDB.query([{ kinds: [30361], authors: [Conf.pubkey], limit: 1 }]); + const [user] = await eventsDB.query([{ kinds: [30361], authors: [Conf.pubkey], '#d': [event.pubkey], limit: 1 }]); event.user = user; }