Keep channel name the same for backwards compatibility
This commit is contained in:
parent
0604b1d5b7
commit
e0cde9a29b
@ -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 New Issue
Block a user