Parcourir la source

Keep channel name the same for backwards compatibility

Mark Felder il y a 3 ans
Parent
commit
e0cde9a29b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/modules/shout.js

+ 1 - 1
src/modules/shout.js

@@ -17,7 +17,7 @@ const shout = {
   },
   actions: {
     initializeShout (store, socket) {
-      const channel = socket.channel('shout:public')
+      const channel = socket.channel('chat:public')
       channel.on('new_msg', (msg) => {
         store.commit('addMessage', msg)
       })