Keep channel name the same for backwards compatibility
This commit is contained in:
parent
0604b1d5b7
commit
e0cde9a29b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const shout = {
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
initializeShout (store, socket) {
|
initializeShout (store, socket) {
|
||||||
const channel = socket.channel('shout:public')
|
const channel = socket.channel('chat:public')
|
||||||
channel.on('new_msg', (msg) => {
|
channel.on('new_msg', (msg) => {
|
||||||
store.commit('addMessage', msg)
|
store.commit('addMessage', msg)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue