about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-07-03 02:17:18 +0200
committerYamagishi Kazutoshi <ykzts@desire.sh>2018-07-03 09:17:18 +0900
commit23e1f143de0764e349912c6d7a6876c5de671ff6 (patch)
tree7a0114940f2295111a92c8c50c6ba1615710f70b /app
parent30b377cc15bcd7bc1e89bd4eefe473369a28e658 (diff)
Fix M hotkey inserting @undefined when in detailed status (#7931)
Fix #7903
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/status/index.js2
1 files changed, 1 insertions, 1 deletions
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 = () => {