aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/mastodon/features/compose/components/reply_indicator.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-12-14 01:41:13 +0100
committerEugen Rochko <eugen@zeonfederated.com>2021-02-16 03:33:32 +0100
commitdd512c140bee24446d1ddab901d04b51a72a2d86 (patch)
treec1e2d1beb1058ccc395d65fe586929b4de8add55 /app/javascript/mastodon/features/compose/components/reply_indicator.js
parent9c273c2a59755a46ff3933470b02df857537a4af (diff)
downloadmastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar
mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar.gz
mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.tar.bz2
mastodon-dd512c140bee24446d1ddab901d04b51a72a2d86.zip
Diffstat (limited to 'app/javascript/mastodon/features/compose/components/reply_indicator.js')
-rw-r--r--app/javascript/mastodon/features/compose/components/reply_indicator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/components/reply_indicator.js b/app/javascript/mastodon/features/compose/components/reply_indicator.js
index a1d5c420c..863defb76 100644
--- a/app/javascript/mastodon/features/compose/components/reply_indicator.js
+++ b/app/javascript/mastodon/features/compose/components/reply_indicator.js
@@ -32,7 +32,7 @@ class ReplyIndicator extends ImmutablePureComponent {
handleAccountClick = (e) => {
if (e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
- this.context.router.history.push(`/accounts/${this.props.status.getIn(['account', 'id'])}`);
+ this.context.router.history.push(`/@${this.props.status.getIn(['account', 'acct'])}`);
}
}