From 18ebcb44e1f31874d85c8958ff25c743b5f567f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 12 May 2022 20:10:23 +0200 Subject: [PATCH] Allow markdown on glitch-soc 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 8407b673d9..e221678f56 100644 --- a/app/soapbox/utils/features.ts +++ b/app/soapbox/utils/features.ts @@ -420,7 +420,10 @@ const getInstanceFeatures = (instance: Instance) => { * Ability to post statuses in Markdown, BBCode, and HTML. * @see POST /api/v1/statuses */ - richText: v.software === PLEROMA, + richText: any([ + v.software === MASTODON && v.build === 'glitch', + v.software === PLEROMA, + ]), /** * Can schedule statuses to be posted at a later time.