Makes some log messages more appropriate.
This commit is contained in:
parent
56424df0a0
commit
f44cf1e87f
4
muc.js
4
muc.js
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue