Quellcode durchsuchen

undefined, not null

j8
Philipp Hancke vor 11 Jahren
Ursprung
Commit
cbbd98a177
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      muc.js

+ 1
- 1
muc.js Datei anzeigen

@@ -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);

Laden…
Abbrechen
Speichern