diff --git a/src/queries.ts b/src/queries.ts index a6fb832e..745429d6 100644 --- a/src/queries.ts +++ b/src/queries.ts @@ -74,7 +74,7 @@ async function getAncestors(store: NStore, event: NostrEvent, result: NostrEvent const inReplyTo = replyTag ? replyTag[1] : undefined; if (inReplyTo) { - const [parentEvent] = await store.query([{ ids: [inReplyTo], limit: 1 }]); + const [parentEvent] = await store.query([{ kinds: [1], ids: [inReplyTo], limit: 1 }]); if (parentEvent) { result.push(parentEvent);