Merge branch 'tusooa/chat-user' into 'develop'
Populate user card on receiving chats See merge request pleroma/pleroma-fe!1766
This commit is contained in:
commit
9a8f52a38d
@ -65,6 +65,7 @@ const chats = {
|
|||||||
const newChatMessageSideEffects = (chat) => {
|
const newChatMessageSideEffects = (chat) => {
|
||||||
maybeShowChatNotification(store, chat)
|
maybeShowChatNotification(store, chat)
|
||||||
}
|
}
|
||||||
|
commit('addNewUsers', chats.map(k => k.account).filter(k => k))
|
||||||
commit('addNewChats', { dispatch, chats, rootGetters, newChatMessageSideEffects })
|
commit('addNewChats', { dispatch, chats, rootGetters, newChatMessageSideEffects })
|
||||||
},
|
},
|
||||||
updateChat ({ commit }, { chat }) {
|
updateChat ({ commit }, { chat }) {
|
||||||
|
Loading…
Reference in New Issue
Block a user