Skip to content

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

feat: Append ?room= to conferenceRequestUrl. (#12753)

bgrozevb0591ed968fb
diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.ts
index 3b450bac89..d45189b245 100644
--- a/react/features/base/config/configType.ts
+++ b/react/features/base/config/configType.ts
@@ -189,6 +189,7 @@ export interface IConfig {
alwaysVisible?: Array<string>;
autoHide?: Array<string>;
};
+ conferenceRequestUrl?: string;
connectionIndicators?: {
autoHide?: boolean;
autoHideTimeout?: number;
diff --git a/react/features/base/connection/actions.any.ts b/react/features/base/connection/actions.any.ts
index b47b472a87..f58ae8101f 100644
--- a/react/features/base/connection/actions.any.ts
+++ b/react/features/base/connection/actions.any.ts
@@ -189,6 +189,9 @@ export function constructOptions(state: IReduxState) {
if (options.websocketKeepAliveUrl) {
options.websocketKeepAliveUrl = appendURLParam(options.websocketKeepAliveUrl, 'room', roomName ?? '');
}
+ if (options.conferenceRequestUrl) {
+ options.conferenceRequestUrl = appendURLParam(options.conferenceRequestUrl, 'room', roomName ?? '');
+ }
}
return options;