From 3282bbe45413e790a5c77b2dda5b28b392a57c9f Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Wed, 28 Aug 2019 22:13:41 +0200 Subject: Add option to rewrite mentions to mentioned user's username or acct Fixes #666 --- app/javascript/flavours/glitch/components/status.js | 1 + .../flavours/glitch/components/status_content.js | 14 ++++++++++++-- .../glitch/features/local_settings/page/index.js | 16 ++++++++++++++++ .../glitch/features/status/components/detailed_status.js | 1 + .../flavours/glitch/reducers/local_settings.js | 1 + 5 files changed, 31 insertions(+), 2 deletions(-) (limited to 'app/javascript') diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 88994c2ac..5b69ac4da 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -702,6 +702,7 @@ class Status extends ImmutablePureComponent { parseClick={parseClick} disabled={!router} tagLinks={settings.get('tag_misleading_links')} + rewriteMentions={settings.get('rewrite_mentions')} /> {!isCollapsed || !(muted || !settings.getIn(['collapsed', 'show_action_bar'])) ? (