feat: Append ?room= to conferenceRequestUrl. (#12753)
* feat: Append ?room= to conferenceRequestUrl. * Declare conferenceRequestUrl in IConfig.
This commit is contained in:
parent
84fe52491f
commit
b0591ed968
|
@ -189,6 +189,7 @@ export interface IConfig {
|
||||||
alwaysVisible?: Array<string>;
|
alwaysVisible?: Array<string>;
|
||||||
autoHide?: Array<string>;
|
autoHide?: Array<string>;
|
||||||
};
|
};
|
||||||
|
conferenceRequestUrl?: string;
|
||||||
connectionIndicators?: {
|
connectionIndicators?: {
|
||||||
autoHide?: boolean;
|
autoHide?: boolean;
|
||||||
autoHideTimeout?: number;
|
autoHideTimeout?: number;
|
||||||
|
|
|
@ -189,6 +189,9 @@ export function constructOptions(state: IReduxState) {
|
||||||
if (options.websocketKeepAliveUrl) {
|
if (options.websocketKeepAliveUrl) {
|
||||||
options.websocketKeepAliveUrl = appendURLParam(options.websocketKeepAliveUrl, 'room', roomName ?? '');
|
options.websocketKeepAliveUrl = appendURLParam(options.websocketKeepAliveUrl, 'room', roomName ?? '');
|
||||||
}
|
}
|
||||||
|
if (options.conferenceRequestUrl) {
|
||||||
|
options.conferenceRequestUrl = appendURLParam(options.conferenceRequestUrl, 'room', roomName ?? '');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
|
|
Loading…
Reference in New Issue