Populate user card on receiving chats

This commit is contained in:
tusooa 2023-01-17 19:55:16 -05:00
parent d22b5bec57
commit 5b56b6b9fd
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

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 }) {