From 29b75a29f097f887e57155637a8dd5e8782346b8 Mon Sep 17 00:00:00 2001 From: rurai10 <13947145-chizutan5@users.noreply.gitlab.com> Date: Fri, 10 Mar 2023 00:15:45 +0000 Subject: [PATCH] Update file features.ts --- app/soapbox/utils/features.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/utils/features.ts b/app/soapbox/utils/features.ts index f4c029c9a..e2a8eb6c8 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -262,7 +262,7 @@ const getInstanceFeatures = (instance: Instance) => { */ chats: any([ v.software === TRUTHSOCIAL, - v.software === PLEROMA && gte(v.version, '2.1.0') && v.build !== AKKOMA, + features.includes('pleroma_chat_messages'), ]), /** @@ -679,6 +679,7 @@ const getInstanceFeatures = (instance: Instance) => { */ quotePosts: any([ v.software === PLEROMA && [REBASED, AKKOMA].includes(v.build!) && gte(v.version, '2.4.50'), + features.includes('quote_posting'), instance.feature_quote === true, ]),