From 9f19f15f0a3615b6e46f91f02b7cb4e345142917 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 3 Apr 2026 17:23:06 -0400 Subject: [PATCH] NeoDB supports trending links and status --- packages/pl-api/lib/features.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/pl-api/lib/features.ts b/packages/pl-api/lib/features.ts index b27678e67..53cbeab27 100644 --- a/packages/pl-api/lib/features.ts +++ b/packages/pl-api/lib/features.ts @@ -1729,7 +1729,10 @@ const getFeatures = (instance: Instance) => { * Trending links. * @see GET /api/v1/trends/links */ - trendingLinks: v.software === MASTODON && gte(v.compatVersion, '3.5.0'), + trendingLinks: any([ + v.software === MASTODON && gte(v.compatVersion, '3.5.0'), + v.software === NEODB, + ]), /** * Trending statuses. @@ -1741,6 +1744,7 @@ const getFeatures = (instance: Instance) => { v.software === FRIENDICA && gte(v.version, '2022.12.0'), v.software === ICESHRIMP, v.software === MASTODON, + v.software === NEODB, v.software === PIXELFED, v.software === SHARKEY, ]),