From 9d2194a92868e22728abf4d8fd9f7600a6dd1985 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Jun 2024 19:54:48 -0500 Subject: [PATCH] trendingStatusesController: enforce kind 1 events --- src/controllers/api/trends.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/trends.ts b/src/controllers/api/trends.ts index 9e2c3a7..13075d1 100644 --- a/src/controllers/api/trends.ts +++ b/src/controllers/api/trends.ts @@ -73,7 +73,7 @@ const trendingStatusesController: AppController = async (c) => { return c.json([]); } - const results = await store.query([{ ids }]) + const results = await store.query([{ kinds: [1], ids }]) .then((events) => hydrateEvents({ events, store })); // Sort events in the order they appear in the label.