浏览代码

Makes some log messages more appropriate.

master
yanas 11 年前
父节点
当前提交
f44cf1e87f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      muc.js

+ 2
- 2
muc.js 查看文件

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

正在加载...
取消
保存