Populate user card on receiving chats

This commit is contained in:
tusooa 2023-01-17 19:55:16 -05:00 committed by Sam Therapy
parent 7b94c3c7f8
commit e2dc1e7999
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ const chats = {
const newChatMessageSideEffects = (chat) => {
maybeShowChatNotification(store, chat)
}
commit('addNewUsers', chats.map(k => k.account).filter(k => k))
commit('addNewChats', { dispatch, chats, rootGetters, newChatMessageSideEffects })
},
updateChat ({ commit }, { chat }) {