From 47561e5c018a45cd2c1717505402d7332a9a7a19 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 19 Mar 2023 17:53:14 -0500 Subject: [PATCH] Enable custom emoji reacts on custom Pleroma forks --- app/soapbox/utils/features.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index e99d4c921..b435406aa 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -327,7 +327,11 @@ const getInstanceFeatures = (instance: Instance) => { /** * Ability to add non-standard reactions to a status. */ - customEmojiReacts: v.software === PLEROMA && gte(v.version, '2.5.50'), + customEmojiReacts: any([ + features.includes('pleroma_custom_emoji_reactions'), + features.includes('custom_emoji_reactions'), + v.software === PLEROMA && gte(v.version, '2.5.50'), + ]), /** * Legacy DMs timeline where messages are displayed chronologically without groupings.