Browse Source

Fix Open Chat button

Tusooa Zhu 2 years ago
parent
commit
152302cbff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/account_actions/account_actions.js

+ 1 - 1
src/components/account_actions/account_actions.js

@@ -40,7 +40,7 @@ const AccountActions = {
     openChat () {
       this.$router.push({
         name: 'chat',
-        params: { recipient_id: this.user.id }
+        params: { username: this.$store.state.users.currentUser.screen_name, recipient_id: this.user.id }
       })
     }
   },