From: Eugen Rochko Date: Tue, 3 Jul 2018 00:17:18 +0000 (+0200) Subject: Fix M hotkey inserting @undefined when in detailed status (#7931) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=23e1f143de0764e349912c6d7a6876c5de671ff6;p=mastodon.git Fix M hotkey inserting @undefined when in detailed status (#7931) Fix #7903 --- 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 = () => {