Kaynağa Gözat

Keep channel name the same for backwards compatibility

Mark Felder 3 yıl önce
ebeveyn
işleme
e0cde9a29b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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)
       })