From 639b429d9d877788c885348908edb7b8657ee27e Mon Sep 17 00:00:00 2001 From: Stefan Otto Date: Wed, 5 Dec 2018 10:27:41 +0100 Subject: [PATCH] Lower case room names only --- app/lib/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/index.jsx b/app/lib/index.jsx index 6ab6183..1348b09 100644 --- a/app/lib/index.jsx +++ b/app/lib/index.jsx @@ -32,7 +32,7 @@ function run() const peerName = randomString({ length: 8 }).toLowerCase(); const urlParser = new UrlParse(window.location.href, true); let roomId = (urlParser.pathname).substr(1) - ? (urlParser.pathname).substr(1) : urlParser.query.roomId; + ? (urlParser.pathname).substr(1).toLowerCase() : urlParser.query.roomId.toLowerCase(); const produce = urlParser.query.produce !== 'false'; let displayName = urlParser.query.displayName; const isSipEndpoint = urlParser.query.sipEndpoint === 'true';