pl-api: support avatar descriptions on pl
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
5a3ede1613
commit
b29242d200
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue