diff --git a/src/controllers/api/statuses.ts b/src/controllers/api/statuses.ts index 47adc572..05b5022c 100644 --- a/src/controllers/api/statuses.ts +++ b/src/controllers/api/statuses.ts @@ -50,7 +50,6 @@ const statusController: AppController = async (c) => { const id = c.req.param('id'); const event = await getEvent(id, { - kind: 1, signal: AbortSignal.timeout(1500), }); diff --git a/src/queries.ts b/src/queries.ts index 9bce58ca..9ee86a36 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([{ kinds: [1], ids: [inReplyTo], until: event.created_at, limit: 1 }]); + const [parentEvent] = await store.query([{ ids: [inReplyTo], until: event.created_at, limit: 1 }]); if (parentEvent) { result.push(parentEvent);