Browse Source

Makes some log messages more appropriate.

master
yanas 11 years ago
parent
commit
f44cf1e87f
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      muc.js

+ 2
- 2
muc.js View File

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…
Cancel
Save