From edfd498b7f52142b210a581befd9e6b7779dc849 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 19 Jul 2022 14:22:19 -0500 Subject: [PATCH] Sync up TruthSocial features --- app/soapbox/utils/features.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 921b780f0..7d4c13dbb 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -126,7 +126,7 @@ const getInstanceFeatures = (instance: Instance) => { accountNotifies: any([ v.software === MASTODON && gte(v.compatVersion, '3.3.0'), v.software === PLEROMA && gte(v.version, '2.4.50'), - // v.software === TRUTHSOCIAL, + v.software === TRUTHSOCIAL, ]), /** @@ -276,6 +276,7 @@ const getInstanceFeatures = (instance: Instance) => { /** Whether the accounts who favourited or emoji-reacted to a status can be viewed through the API. */ exposableReactions: any([ v.software === MASTODON, + v.software === TRUTHSOCIAL, features.includes('exposable_reactions'), ]), @@ -428,6 +429,7 @@ const getInstanceFeatures = (instance: Instance) => { polls: any([ v.software === MASTODON && gte(v.version, '2.8.0'), v.software === PLEROMA, + v.software === TRUTHSOCIAL, ]), /**