From 3c8b5be783474fc89b77115a7710ad55fe59df59 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 12 Mar 2024 17:09:22 -0500 Subject: [PATCH] pipeline: fix hydrateEvent --- src/pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }