From c01de0f7214d7241a549b676a80768c9af6983c3 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 1 Aug 2019 15:20:22 +0200 Subject: [PATCH] Ensure link rewriting setting changes are immediately applied --- app/javascript/flavours/glitch/components/status_content.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index fba30d6ebf..1aaadb6325 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -280,6 +280,7 @@ export default class StatusContent extends React.PureComponent { mediaIcon, parseClick, disabled, + linkRewriting, } = this.props; const hidden = this.props.onExpandedToggle ? !this.props.expanded : this.state.hidden; @@ -354,6 +355,7 @@ export default class StatusContent extends React.PureComponent {
-
+
{media}
);