Adds application name to the initJitsiConference options.

This commit is contained in:
damencho
2017-10-13 15:34:27 -05:00
parent 654c5c44f4
commit c3e42e0162
5 changed files with 45 additions and 18 deletions

View File

@@ -12,7 +12,7 @@ import {
import {
// eslint-disable-next-line camelcase
_getRouteToRender as _super_getRouteToRender
} from './functions.native';
} from './getRouteToRender';
declare var APP: Object;
declare var interfaceConfig: Object;
@@ -116,3 +116,12 @@ function _interceptComponent(
return result || component;
}
/**
* Returns application name.
*
* @returns {string} The application name.
*/
export function getName() {
return interfaceConfig.APP_NAME;
}