diff --git a/README.md b/README.md index 4e96bc332b06bf6b6ae5f502dd36fb9b893f00c7..3267b69a125ccd0246b611c77f889e8b3d32674c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,6 @@ This will allow the CSP checks to pass that are served up by Reticulum so you ca ## Query Params -- `room` - Id of the room (an integer) that you want to join - `allow_multi` - Allow multiple instances off the app in the same browser session - `enable_screen_sharing` - Enable screen sharing - `accept_screen_shares` - Display screens shared by other users diff --git a/src/hub.js b/src/hub.js index ff21647ad96a8f4ca4b4adde1cbba5e1dd1e2da8..de0c3d5198e7b69a4bca0b78b090e4628dc57829 100644 --- a/src/hub.js +++ b/src/hub.js @@ -552,17 +552,6 @@ const onReady = async () => { remountUI({ hubId, hubName }); }; - if (qs.has("room")) { - // If ?room is set, this is `yarn start`, so just use a default environment and query string room. - const hubId = qs.get("room") || "default"; - setRoom(hubId, hubId); - if (isBotMode) enterSceneWhenReady(); - initialEnvironmentEl.setAttribute("gltf-bundle", { - src: DEFAULT_ENVIRONMENT_URL - }); - return; - } - // Connect to reticulum over phoenix channels to get hub info. const hubId = qs.get("hub_id") || document.location.pathname.substring(1).split("/")[0]; console.log(`Hub ID: ${hubId}`);