Browse Source

Fix for the previous commit.

release-8443
hristoterezov 10 years ago
parent
commit
f1fba82b64
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      JitsiConference.js
  2. 1
    1
      lib-jitsi-meet.js

+ 1
- 1
JitsiConference.js View File

@@ -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 View File

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

Loading…
Cancel
Save