Feature-gate language picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -673,6 +673,15 @@ const getInstanceFeatures = (instance: Instance) => {
|
||||
v.software === TAKAHE && gte(v.version, '0.8.0'),
|
||||
]),
|
||||
|
||||
/**
|
||||
* Can select a language for statuses.
|
||||
* @see POST /api/v1/statuses
|
||||
*/
|
||||
postLanguages: any([
|
||||
v.software === MASTODON,
|
||||
v.software === PLEROMA && v.build === REBASED,
|
||||
]),
|
||||
|
||||
/**
|
||||
* Can set privacy scopes on statuses.
|
||||
* @see POST /api/v1/statuses
|
||||
|
||||
Reference in New Issue
Block a user