Makes some log messages more appropriate.

This commit is contained in:
yanas 2014-05-12 00:44:05 +02:00
parent 56424df0a0
commit f44cf1e87f
1 changed files with 2 additions and 2 deletions

4
muc.js
View File

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