Explorar el Código

Makes some log messages more appropriate.

master
yanas hace 11 años
padre
commit
f44cf1e87f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      muc.js

+ 2
- 2
muc.js Ver fichero

@@ -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);

Loading…
Cancelar
Guardar