Allow markdown on glitch-soc

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-05-12 20:10:23 +02:00
parent 38b960244a
commit 18ebcb44e1

View file

@ -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.