Use 'userProfileLink' to generate user-profile link

This commit is contained in:
Maxim Filippov 2018-12-13 19:57:11 +03:00
commit e4a34cc4d4
14 changed files with 58 additions and 28 deletions

View file

@ -13,7 +13,7 @@ const chatPanel = {
return this.$store.state.chat.messages
},
userProfileLink (user) {
return generateProfileLink(user, user.name)
return generateProfileLink(user.id, user.screen_name)
}
},
methods: {