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>;
|
||||
autoHide?: Array<string>;
|
||||
};
|
||||
conferenceRequestUrl?: string;
|
||||
connectionIndicators?: {
|
||||
autoHide?: boolean;
|
||||
autoHideTimeout?: number;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue