Keep channel name the same for backwards compatibility

This commit is contained in:
Mark Felder 2021-06-01 14:31:58 -05:00
parent 0604b1d5b7
commit e0cde9a29b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}) })