diff --git a/app/javascript/gabsocial/components/status_content.js b/app/javascript/gabsocial/components/status_content.js index ca47143f..0b274e72 100644 --- a/app/javascript/gabsocial/components/status_content.js +++ b/app/javascript/gabsocial/components/status_content.js @@ -45,7 +45,7 @@ export default class StatusContent extends React.PureComponent { } link.classList.add('status-link'); - let mention = this.props.status.get('mentions').find(item => link.href === `/${item.get('acct')}`); + let mention = this.props.status.get('mentions').find(item => link.href === `${item.get('url')}`); if (mention) { link.addEventListener('click', this.onMentionClick.bind(this, mention), false); @@ -139,7 +139,7 @@ export default class StatusContent extends React.PureComponent { const { status, reblogContent } = this.props; const properContent = status.get('contentHtml'); - + return reblogContent ? `${reblogContent}
${properContent}
` : properContent;