From 152302cbff4e311da2922021efa9c326ceca6570 Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Wed, 25 May 2022 13:34:26 -0400 Subject: [PATCH] Fix Open Chat button --- src/components/account_actions/account_actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/account_actions/account_actions.js b/src/components/account_actions/account_actions.js index e53c4f77..99762562 100644 --- a/src/components/account_actions/account_actions.js +++ b/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 } }) } },