From cc555ffb5bcfad4cf5959f71bb3945806e920a11 Mon Sep 17 00:00:00 2001 From: Mary Kate Fain Date: Thu, 13 Feb 2025 11:27:32 -0600 Subject: [PATCH] add streak to features --- src/utils/features.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/utils/features.ts b/src/utils/features.ts index ccad8d361..c9c8bb6a2 100644 --- a/src/utils/features.ts +++ b/src/utils/features.ts @@ -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/}