pl-api: support avatar descriptions on pl

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-06 09:11:23 +02:00
parent 5a3ede1613
commit b29242d200

View file

@ -114,7 +114,10 @@ const getFeatures = (instance?: Instance) => {
* Ability to set description of profile avatar and header. * Ability to set description of profile avatar and header.
* @see PATCH /api/v1/accounts/update_credentials * @see PATCH /api/v1/accounts/update_credentials
*/ */
accountAvatarDescription: v.software === GOTOSOCIAL && gte(v.version, '0.16.1'), accountAvatarDescription: any([
v.software === GOTOSOCIAL && gte(v.version, '0.16.1'),
v.software === PLEROMA && v.build === PL,
]),
/** /**
* Pleroma backups. * Pleroma backups.