]> cat aescling's git repositories - mastodon.git/commitdiff
Fix M hotkey inserting @undefined when in detailed status (#7931)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 3 Jul 2018 00:17:18 +0000 (02:17 +0200)
committerYamagishi Kazutoshi <ykzts@desire.sh>
Tue, 3 Jul 2018 00:17:18 +0000 (09:17 +0900)
Fix #7903

app/javascript/mastodon/features/status/index.js

index 3c66536d43684ad73f0f3ee3f6b651c1aac5e146..d7b50786cfd374f04b34b23692cba6c35d009838 100644 (file)
@@ -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 = () => {