소스 검색

fixing subscrition index hardcode

tags/0.0.1^2
J 3 년 전
부모
커밋
f96f317afa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      frontend/src/services/chat.service.js

+ 1
- 1
frontend/src/services/chat.service.js 파일 보기

@@ -73,7 +73,7 @@ class Chatter {
73 73
         this.subscriptions = [MAIN_CHANNEL, 'Channel-LosAngeles']
74 74
         this.listeners = {
75 75
             status: async e => {
76
-                await this.publish(this.subscriptions[2], testMessage)
76
+                await this.publish(this.subscriptions[0], testMessage)
77 77
                 if (e.category !== 'PNConnectedCategory') return
78 78
             },
79 79
             message: this._onMessage,

Loading…
취소
저장