pl-api: more firefish updates

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-23 17:47:29 +02:00
parent 73c1686c77
commit 22d5f1d9d9

View file

@ -271,6 +271,7 @@ const getFeatures = (instance: Instance) => {
*/
bots: any([
v.software === GOTOSOCIAL,
v.software === ICESHRIMP,
v.software === MASTODON,
v.software === PLEROMA,
]),
@ -926,6 +927,7 @@ const getFeatures = (instance: Instance) => {
* @see PATCH /api/v1/accounts/update_credentials
*/
profileFields: any([
v.software === ICESHRIMP,
v.software === MASTODON,
v.software === PLEROMA,
v.software === TAKAHE && gte(v.version, '0.7.0'),