From 9626d9fee693c50ff85a9518e489f600967ef44e Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Tue, 27 Dec 2022 21:24:35 +0100 Subject: [PATCH] status: turn displayed username from quotes into links to original profile --- .../flavours/glitch/components/status_content.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index 7ae43b1552..cb404713c1 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -281,7 +281,7 @@ export default class StatusContent extends React.PureComponent { let quoteStatus = status.get('quote'); let quoteStatusContent = { __html: quoteStatus.get('contentHtml') }; let quoteStatusAccount = quoteStatus.get('account'); - let quoteStatusDisplayName = { __html: quoteStatusAccount.get('display_name_html') }; + let quoteStatusDisplayName = ; quote = (
@@ -293,8 +293,9 @@ export default class StatusContent extends React.PureComponent { id='quote-right' aria-hidden='true' key='icon-quote-right' /> - + + {quoteStatusDisplayName} +