pl-api: /api/v1/followed_tags is actually more broadly supported

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-02 00:22:16 +02:00
parent f81dd5d70d
commit db3c895731

View file

@ -537,7 +537,13 @@ const getFeatures = (instance?: Instance) => {
* Ability to list followed hashtags.
* @see GET /api/v1/followed_tags
*/
followedHashtagsList: v.software === MASTODON && gte(v.compatVersion, '4.1.0'),
followedHashtagsList: any([
v.software === GOTOSOCIAL && gte(v.version, '0.16.1'),
v.software === MASTODON && gte(v.compatVersion, '4.1.0'),
v.software === PLEROMA && v.build === AKKOMA,
v.software === PLEROMA && v.build === PL,
v.software === TAKAHE && gte(v.version, '0.9.0'),
]),
/**
* Whether client settings can be retrieved from the API.