Quellcode durchsuchen

Fix for the previous commit.

master
hristoterezov vor 10 Jahren
Ursprung
Commit
f1fba82b64
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1
    1
      JitsiConference.js
  2. 1
    1
      lib-jitsi-meet.js

+ 1
- 1
JitsiConference.js Datei anzeigen

@@ -18,7 +18,7 @@ var Statistics = require("./modules/statistics/statistics");
18 18
  */
19 19
 
20 20
 function JitsiConference(options) {
21
-    if(!options.name || options.name.toLowerCase() === options.name) {
21
+    if(!options.name || options.name.toLowerCase() !== options.name) {
22 22
         console.error("Invalid conference name (no conference name passed or it"
23 23
             + "contains invalid characters like capital letters)!");
24 24
          return;

+ 1
- 1
lib-jitsi-meet.js Datei anzeigen

@@ -19,7 +19,7 @@ var Statistics = require("./modules/statistics/statistics");
19 19
  */
20 20
 
21 21
 function JitsiConference(options) {
22
-    if(!options.name || options.name.toLowerCase() === options.name) {
22
+    if(!options.name || options.name.toLowerCase() !== options.name) {
23 23
         console.error("Invalid conference name (no conference name passed or it"
24 24
             + "contains invalid characters like capital letters)!");
25 25
          return;

Laden…
Abbrechen
Speichern