ソースを参照

undefined, not null

master
Philipp Hancke 11年前
コミット
a2916176cb
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      muc.js

+ 1
- 1
muc.js ファイルの表示

@@ -23,7 +23,7 @@ Strophe.addConnectionPlugin('emuc', {
23 23
         }
24 24
 
25 25
         var join = $pres({to: this.myroomjid }).c('x', {xmlns: 'http://jabber.org/protocol/muc'});
26
-        if (password !== null) {
26
+        if (password !== undefined) {
27 27
             join.c('password').t(password);
28 28
         }
29 29
         this.connection.send(join);

読み込み中…
キャンセル
保存