rn: add DialInSummary

This commit is contained in:
Bettenbuk Zoltan
2019-05-07 16:50:57 +02:00
committed by Zoltan Bettenbuk
parent 7e9df74e60
commit 86d0d4fc22
31 changed files with 351 additions and 53 deletions

View File

@@ -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.
*