Join room directly (#53)

This commit is contained in:
giongto35 2019-06-09 15:34:11 +08:00 committed by GitHub
parent 5063342277
commit b520dd19f3
4 changed files with 31 additions and 19 deletions

2
static/js/init.js vendored
View file

@ -27,7 +27,7 @@ function parseURLForRoom() {
queryDict[item.split("=")[0]] = item.split("=")[1]
});
if (typeof queryDict["id"] === "string") {
return queryDict["id"];
return decodeURI(queryDict["id"]);
}
return null;
}