trendingStatusesController: enforce kind 1 events
This commit is contained in:
parent
6a4fc7b6ba
commit
9d2194a928
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue