diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 3561611f747b3..2d82b90771cb0 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -172,6 +172,19 @@ class Status extends ImmutablePureComponent { this._openProfile(proper); } + handleQuoteAccountClick = e => { + e.preventDefault(); + + const { router } = this.context; + const status = this._properStatus(); + + if (!router) { + return; + } + + router.history.push(`/@${status.get('quote').getIn(['account', 'acct'])}`); + } + handleQuoteClick = () => { if (!this.context.router) { return; @@ -641,7 +654,7 @@ class Status extends ImmutablePureComponent { quote = (
- +