Просмотр исходного кода

Merge branch 'from/develop/tusooa/fix-open-chat' into 'develop'

Fix Open Chat button

See merge request pleroma/pleroma-fe!1532
HJ 2 лет назад
Родитель
Сommit
1418054b53
1 измененных файлов с 1 добавлено и 1 удалено
  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 }
       })
     }
   },