rn: add DialInSummary
This commit is contained in:
committed by
Zoltan Bettenbuk
parent
7e9df74e60
commit
86d0d4fc22
@@ -508,6 +508,22 @@ export function getDialInfoPageURL(
|
||||
return `${origin}${newPath}/static/dialInInfo.html?room=${conferenceName}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the URL for the static dial in info page.
|
||||
*
|
||||
* @param {string} uri - The conference URI string.
|
||||
* @returns {string}
|
||||
*/
|
||||
export function getDialInfoPageURLForURIString(
|
||||
uri: ?string) {
|
||||
if (!uri) {
|
||||
return undefined;
|
||||
}
|
||||
const { protocol, host, contextRoot, room } = parseURIString(uri);
|
||||
|
||||
return `${protocol}//${host}${contextRoot}static/dialInInfo.html?room=${room}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the internal state of which dial-in number to display.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user