Commit e6a94001 authored by Shpuld Shpludson's avatar Shpuld Shpludson

update chat support

parent 84e36a80
Pipeline #26209 failed with stages
in 4 minutes and 20 seconds
......@@ -39,7 +39,7 @@ const updateChat = (state, { chat, older }) => {
const messages = chat.messages || []
const currentMessages = currentChatState.messages || []
const newMessages = older ? messages.concat(currentChatState.messages) : currentMessages.concat(messages)
const newMessages = older ? currentChatState.messages.concat(messages) : messages.concat(currentMessages)
const newChatState = {
...currentChatState,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment