revert unnecessary changes
This commit is contained in:
parent
6471bec0d9
commit
262760d258
120 changed files with 2128 additions and 4290 deletions
|
@ -1,7 +1,7 @@
|
|||
const chat = {
|
||||
state: {
|
||||
messages: [],
|
||||
channel: { state: '' },
|
||||
channel: {state: ''},
|
||||
socket: null
|
||||
},
|
||||
mutations: {
|
||||
|
@ -29,7 +29,7 @@ const chat = {
|
|||
channel.on('new_msg', (msg) => {
|
||||
store.commit('addMessage', msg)
|
||||
})
|
||||
channel.on('messages', ({ messages }) => {
|
||||
channel.on('messages', ({messages}) => {
|
||||
store.commit('setMessages', messages)
|
||||
})
|
||||
channel.join()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue