add streak to features

This commit is contained in:
Mary Kate Fain 2025-02-13 11:27:32 -06:00
parent 34ef675ab4
commit cc555ffb5b
1 changed files with 6 additions and 0 deletions

View File

@ -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/}