From 23e1f143de0764e349912c6d7a6876c5de671ff6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 3 Jul 2018 02:17:18 +0200 Subject: [PATCH] Fix M hotkey inserting @undefined when in detailed status (#7931) Fix #7903 --- app/javascript/mastodon/features/status/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/status/index.js b/app/javascript/mastodon/features/status/index.js index 3c66536d4..d7b50786c 100644 --- a/app/javascript/mastodon/features/status/index.js +++ b/app/javascript/mastodon/features/status/index.js @@ -276,7 +276,7 @@ export default class Status extends ImmutablePureComponent { handleHotkeyMention = e => { e.preventDefault(); - this.handleMentionClick(this.props.status); + this.handleMentionClick(this.props.status.get('account')); } handleHotkeyOpenProfile = () => {