From e8e1c3ebe9689b7e2ff1c32af0229eabf12d75f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Tue, 24 Jun 2025 21:55:12 +0200 Subject: [PATCH] pl-api: update feature definitions + fix one for shrimpnet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/features.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/pl-api/lib/features.ts b/packages/pl-api/lib/features.ts index a3b4d724b..683d32470 100644 --- a/packages/pl-api/lib/features.ts +++ b/packages/pl-api/lib/features.ts @@ -265,6 +265,7 @@ const getFeatures = (instance: Instance) => { v.software === FIREFISH, v.software === GOTOSOCIAL, v.software === ICESHRIMP, + v.software === ICESHRIMP_NET, v.software === MASTODON, v.software === MITRA, v.software === PLEROMA && gte(v.version, '2.5.0'), @@ -380,7 +381,7 @@ const getFeatures = (instance: Instance) => { */ announcementsReactions: v.software === MASTODON, - kmyblue_antenna: instance.api_versions['kmyblue_antenna.fedibird.pl-api'] >= 1, + antennas: instance.api_versions['kmyblue_antenna.fedibird.pl-api'] >= 1, /** * Set your birthday and view upcoming birthdays. @@ -1572,7 +1573,7 @@ const getFeatures = (instance: Instance) => { changePassword: any([ v.software === AKKOMA, v.software === GOTOSOCIAL, - v.software === ICESHRIMP, + v.software === ICESHRIMP_NET, v.software === MITRA, v.software === PIXELFED, v.software === PLEROMA, @@ -1717,6 +1718,7 @@ const getFeatures = (instance: Instance) => { v.software === ICESHRIMP, v.software === MASTODON, v.software === PIXELFED, + v.software === SHARKEY, ]), /**