logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 3a5ad18aca6a7303e6f6b97dd3f0919d5532184c
parent e3d602fdccb0dfe211fd3950210cdf8fda43bf95
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 28 Feb 2022 18:00:38 +0200

fix stripping rich content not working

Diffstat:

Msrc/modules/serverSideConfig.js4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/serverSideConfig.js b/src/modules/serverSideConfig.js @@ -3,7 +3,7 @@ import { get, set } from 'lodash' export const settingsMapGet = { 'defaultScope': 'source.privacy', 'defaultNSFW': 'source.sensitive', // BROKEN: pleroma/pleroma#2837 - 'stripRichContent': 'source.pleroma.no_rich_content', + 'stripRichContent': 'source.pleroma.no_rich_text', // Privacy 'locked': 'locked', 'acceptChatMessages': 'pleroma.accepts_chat_messages', @@ -22,7 +22,7 @@ export const settingsMapGet = { export const settingsMapSet = { 'defaultScope': 'source.privacy', 'defaultNSFW': 'source.sensitive', - 'stripRichContent': 'source.pleroma.no_rich_content', + 'stripRichContent': 'no_rich_text', // Privacy 'locked': 'locked', 'acceptChatMessages': 'accepts_chat_messages',