diff --git a/components/views/chat/chatbar/Chatbar.vue b/components/views/chat/chatbar/Chatbar.vue index 56ca87a9a9..08a80c7ab1 100644 --- a/components/views/chat/chatbar/Chatbar.vue +++ b/components/views/chat/chatbar/Chatbar.vue @@ -41,6 +41,7 @@ export default Vue.extend({ }, computed: { ...mapGetters('chat', ['getFiles']), + ...mapGetters('friends', ['getActiveFriend']), ...mapState(['ui', 'friends', 'webrtc', 'chat', 'textile', 'conversation']), activeFriend() { return this.conversation?.participants?.[0] @@ -128,7 +129,7 @@ export default Vue.extend({ watch: { 'friends.all': { handler() { - const activeFriend = this.$Hounddog.getActiveFriend(this.friends) + const activeFriend = this.getActiveFriend() if (activeFriend) this.recipientTyping = activeFriend.typingState === PropCommonEnum.TYPING diff --git a/components/views/chat/enhancers/glyphs/item/Item.vue b/components/views/chat/enhancers/glyphs/item/Item.vue index 654b13f19b..d790114bc2 100644 --- a/components/views/chat/enhancers/glyphs/item/Item.vue +++ b/components/views/chat/enhancers/glyphs/item/Item.vue @@ -1,6 +1,7 @@