Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
1, not 2 names for 1 and the same abstraction
Lyubomir Marinova8cd4ff12cd2
diff --git a/modules/URL/ConferenceUrl.js b/modules/URL/ConferenceUrl.jsindex c700cc10df..5bc0750430 100644--- a/modules/URL/ConferenceUrl.js+++ b/modules/URL/ConferenceUrl.js@@ -1,6 +1,6 @@const logger = require("jitsi-meet-logger").getLogger(__filename);-import { redirect } from '../util/helpers';+import { replace } from '../util/helpers';/*** The modules stores information about the URL used to start the conference and@@ -68,6 +68,6 @@ export default class ConferenceUrl {*/reload() {logger.info("Reloading the conference using URL: " + this.originalURL);- redirect(this.originalURL);+ replace(this.originalURL);}}diff --git a/modules/util/helpers.js b/modules/util/helpers.jsindex 0bd7e9e1f6..ef10528c5c 100644--- a/modules/util/helpers.js+++ b/modules/util/helpers.js@@ -23,11 +23,13 @@ export function reload () {}/**- * Redirects to new URL.+ * Redirects to a specific new URL by replacing the current location (in the+ * history).+ ** @param {string} url the URL pointing to the location where the user should* be redirected to.*/-export function redirect (url) {+export function replace(url) {window.location.replace(url);}