fix(remotecontrol): Fixing issues after peer review.

This commit is contained in:
hristoterezov
2017-01-17 18:16:18 -06:00
parent 5d22061c0a
commit 0efca9a9a8
7 changed files with 38 additions and 12 deletions

View File

@@ -23,7 +23,11 @@ export function init() {
APP.keyboardshortcut = KeyboardShortcut;
APP.tokenData = getTokenData();
APP.API.init(APP.tokenData.jwt ? {forceEnable: true} : undefined);
// Force enable the API if jwt token is passed because most probably
// jitsi meet is displayed inside of wrapper that will need to communicate
// with jitsi meet.
APP.API.init(APP.tokenData.jwt ? { forceEnable: true } : undefined);
APP.translation.init(settings.getLanguage());
}