소스 검색

Keep channel name the same for backwards compatibility

Mark Felder 3 년 전
부모
커밋
e0cde9a29b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
       })