trendingStatusesController: enforce kind 1 events

This commit is contained in:
Alex Gleason 2024-06-02 19:54:48 -05:00
parent 6a4fc7b6ba
commit 9d2194a928
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

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.