Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Drop not used parameter.

damencho19a9ca5efd94
diff --git a/react/features/app/actions.native.ts b/react/features/app/actions.native.ts
index a32c7e70f4..7297c262ec 100644
--- a/react/features/app/actions.native.ts
+++ b/react/features/app/actions.native.ts
@@ -98,7 +98,7 @@ export function appNavigate(uri?: string, options: IReloadNowOptions = {}) {
dispatch(disconnect());
- dispatch(configWillLoad(locationURL, room));
+ dispatch(configWillLoad(locationURL));
let protocol = location.protocol.toLowerCase();
diff --git a/react/features/app/actions.web.ts b/react/features/app/actions.web.ts
index 0c67f119f4..e171da4357 100644
--- a/react/features/app/actions.web.ts
+++ b/react/features/app/actions.web.ts
@@ -69,7 +69,7 @@ export function appNavigate(uri?: string) {
// the conference, but we're still on the conference screen.
dispatch(clearNotifications());
- dispatch(configWillLoad(locationURL, room));
+ dispatch(configWillLoad(locationURL));
const config = await loadConfig();
diff --git a/react/features/base/config/actions.ts b/react/features/base/config/actions.ts
index 59020bb0ec..1736c82f39 100644
--- a/react/features/base/config/actions.ts
+++ b/react/features/base/config/actions.ts
@@ -36,18 +36,15 @@ export function updateConfig(config: IConfig) {
*
* @param {URL} locationURL - The URL of the location which necessitated the
* loading of a configuration.
- * @param {string} room - The name of the room (conference) for which we're loading the config for.
* @returns {{
* type: CONFIG_WILL_LOAD,
- * locationURL: URL,
- * room: string
+ * locationURL: URL
* }}
*/
-export function configWillLoad(locationURL: URL, room: string) {
+export function configWillLoad(locationURL: URL) {
return {
type: CONFIG_WILL_LOAD,
- locationURL,
- room
+ locationURL
};
}