commit: 9a8f52a38db26ec4fe57afbd5aca6a1cf15eb91c
parent 9c376b3511e0922ba9bfb8941dfb47149656b04e
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Tue, 11 Apr 2023 21:26:39 +0000
Merge branch 'tusooa/chat-user' into 'develop'
Populate user card on receiving chats
See merge request pleroma/pleroma-fe!1766
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/modules/chats.js b/src/modules/chats.js
@@ -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 }) {