aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/mastodon/features/getting_started/components/announcements.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/getting_started/components/announcements.js')
-rw-r--r--app/javascript/mastodon/features/getting_started/components/announcements.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/mastodon/features/getting_started/components/announcements.js b/app/javascript/mastodon/features/getting_started/components/announcements.js
index ff1566e05..24db8cede 100644
--- a/app/javascript/mastodon/features/getting_started/components/announcements.js
+++ b/app/javascript/mastodon/features/getting_started/components/announcements.js
@@ -87,7 +87,7 @@ class Content extends ImmutablePureComponent {
onMentionClick = (mention, e) => {
if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
- this.context.router.history.push(`/accounts/${mention.get('id')}`);
+ this.context.router.history.push(`/@${mention.get('acct')}`);
}
}
@@ -96,14 +96,14 @@ class Content extends ImmutablePureComponent {
if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
- this.context.router.history.push(`/timelines/tag/${hashtag}`);
+ this.context.router.history.push(`/tags/${hashtag}`);
}
}
onStatusClick = (status, e) => {
if (this.context.router && e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
- this.context.router.history.push(`/statuses/${status.get('id')}`);
+ this.context.router.history.push(`/@${status.getIn(['account', 'acct'])}/${status.get('id')}`);
}
}