소스 검색

Makes some log messages more appropriate.

master
yanas 11 년 전
부모
커밋
f44cf1e87f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      muc.js

+ 2
- 2
muc.js 파일 보기

37
         this.sendPresence();
37
         this.sendPresence();
38
     },
38
     },
39
     doLeave: function() {
39
     doLeave: function() {
40
-        console.log("DO LEAVE", this.myroomjid);
40
+        console.log("do leave", this.myroomjid);
41
         var pres = $pres({to: this.myroomjid, type: 'unavailable' });
41
         var pres = $pres({to: this.myroomjid, type: 'unavailable' });
42
         this.presMap.length = 0;
42
         this.presMap.length = 0;
43
         this.connection.send(pres);
43
         this.connection.send(pres);
216
         this.connection.sendIQ(
216
         this.connection.sendIQ(
217
                 kickIQ,
217
                 kickIQ,
218
                 function (result) {
218
                 function (result) {
219
-                    console.log('Kick participant with jid: ' + jid, result);
219
+                    console.log('Kick participant with jid: ', jid, result);
220
                 },
220
                 },
221
                 function (error) {
221
                 function (error) {
222
                     console.log('Kick participant error: ', error);
222
                     console.log('Kick participant error: ', error);

Loading…
취소
저장