From 7e3ab33dc52c474dbef234854f890166d32408db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 2 May 2023 23:34:46 +0200 Subject: [PATCH] Follow hashtags: Support Akkoma MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/utils/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 04e5cc6e8..9fd16017d 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -491,7 +491,10 @@ const getInstanceFeatures = (instance: Instance) => { * @see POST /api/v1/tags/:name/follow * @see POST /api/v1/tags/:name/unfollow */ - followHashtags: v.software === MASTODON && gte(v.compatVersion, '4.0.0'), + followHashtags: any([ + v.software === MASTODON && gte(v.compatVersion, '4.0.0'), + v.software === PLEROMA && v.build === AKKOMA, + ]), /** * Ability to lock accounts and manually approve followers.