From c8c4d9a9de1063e46869aeaaf75ecc1c7fadbe61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 12 May 2022 20:43:48 +0200 Subject: [PATCH] Display favourites/reblogs on Mastodon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/utils/features.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index 8407b673d..25ef1801c 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -245,7 +245,10 @@ const getInstanceFeatures = (instance: Instance) => { ]), /** Whether the accounts who favourited or emoji-reacted to a status can be viewed through the API. */ - exposableReactions: features.includes('exposable_reactions'), + exposableReactions: any([ + v.software === MASTODON, + features.includes('exposable_reactions'), + ]), /** Whether the instance federates. */ federating: federation.get('enabled', true) === true, // Assume true unless explicitly false