Ver código fonte

Fix for the previous commit.

tags/v0.0.2
hristoterezov 10 anos atrás
pai
commit
f1fba82b64
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1
    1
      JitsiConference.js
  2. 1
    1
      lib-jitsi-meet.js

+ 1
- 1
JitsiConference.js Ver arquivo

@@ -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 Ver arquivo

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

Carregando…
Cancelar
Salvar