From 4e80b06c1b1da4989fbcf2c465560fe4684ae479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Tue, 31 Mar 2026 19:18:48 +0000 Subject: [PATCH] pl-api: update feature defs for snac 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/pl-api/lib/features.ts b/packages/pl-api/lib/features.ts index 15de99ba4..aa7155a11 100644 --- a/packages/pl-api/lib/features.ts +++ b/packages/pl-api/lib/features.ts @@ -910,6 +910,7 @@ const getFeatures = (instance: Instance) => { v.software === MASTODON, v.software === MITRA, v.software === PLEROMA, + v.software === SNAC && gte(v.version, '2.78.0'), v.software === TOKI, ]), @@ -1398,6 +1399,7 @@ const getFeatures = (instance: Instance) => { v.software === MITRA && gte(v.version, '3.15.0'), v.software === NEODB, v.software === SHARKEY, + v.software === SNAC && gte(v.version, '2.90.0'), v.software === TAKAHE && gte(v.version, '0.8.0'), instance.api_versions['polls.pleroma.pl-api'] >= 1, ]),