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

* feat: Append ?room= to conferenceRequestUrl.

* Declare conferenceRequestUrl in IConfig.
This commit is contained in:
bgrozev 2023-01-10 13:20:48 -06:00 committed by GitHub
parent 84fe52491f
commit b0591ed968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,7 @@ export interface IConfig {
alwaysVisible?: Array<string>;
autoHide?: Array<string>;
};
conferenceRequestUrl?: string;
connectionIndicators?: {
autoHide?: boolean;
autoHideTimeout?: number;

View File

@ -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;