trendingStatusesController: enforce kind 1 events

This commit is contained in:
Alex Gleason
2024-06-02 19:54:48 -05:00
parent 6a4fc7b6ba
commit 9d2194a928

View File

@@ -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.