undefined, not null
This commit is contained in:
parent
9ceaec1378
commit
a2916176cb
2
muc.js
2
muc.js
|
@ -23,7 +23,7 @@ Strophe.addConnectionPlugin('emuc', {
|
||||||
}
|
}
|
||||||
|
|
||||||
var join = $pres({to: this.myroomjid }).c('x', {xmlns: 'http://jabber.org/protocol/muc'});
|
var join = $pres({to: this.myroomjid }).c('x', {xmlns: 'http://jabber.org/protocol/muc'});
|
||||||
if (password !== null) {
|
if (password !== undefined) {
|
||||||
join.c('password').t(password);
|
join.c('password').t(password);
|
||||||
}
|
}
|
||||||
this.connection.send(join);
|
this.connection.send(join);
|
||||||
|
|
Loading…
Reference in New Issue