pl-api: update feature definitions for Ditto
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
90b819b065
commit
c907e10138
1 changed files with 5 additions and 3 deletions
|
@ -1001,12 +1001,13 @@ const getFeatures = (instance: Instance) => {
|
|||
* @see PATCH /api/v1/accounts/update_credentials
|
||||
*/
|
||||
profileFields: any([
|
||||
v.software === DITTO,
|
||||
v.software === GOTOSOCIAL,
|
||||
v.software === ICESHRIMP,
|
||||
v.software === MASTODON,
|
||||
v.software === MITRA,
|
||||
v.software === PLEROMA,
|
||||
v.software === TAKAHE && gte(v.version, '0.7.0'),
|
||||
v.software === MITRA,
|
||||
v.software === GOTOSOCIAL,
|
||||
]),
|
||||
|
||||
/**
|
||||
|
@ -1121,10 +1122,11 @@ const getFeatures = (instance: Instance) => {
|
|||
* @see POST /api/v2/search
|
||||
*/
|
||||
searchFromAccount: any([
|
||||
v.software === DITTO,
|
||||
v.software === GOTOSOCIAL,
|
||||
v.software === ICESHRIMP,
|
||||
v.software === MASTODON,
|
||||
v.software === PLEROMA,
|
||||
v.software === GOTOSOCIAL,
|
||||
]),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue