add streak to features
This commit is contained in:
parent
34ef675ab4
commit
cc555ffb5b
|
@ -1017,6 +1017,12 @@ const getInstanceFeatures = (instance: InstanceV1 | InstanceV2) => {
|
|||
*/
|
||||
spoilers: v.software !== TRUTHSOCIAL,
|
||||
|
||||
/**
|
||||
* Can view user streaks.
|
||||
* @see GET /api/v1/accounts/verify_credentials
|
||||
*/
|
||||
streak: v.software === DITTO,
|
||||
|
||||
/**
|
||||
* Can display suggested accounts.
|
||||
* @see {@link https://docs.joinmastodon.org/methods/suggestions/}
|
||||
|
|
Loading…
Reference in New Issue