Merge pull request #12968 from vector-im/travis/jitsi-errors

Add a console warning that errors from Jitsi Meet are fine
This commit is contained in:
Travis Ralston
2020-04-01 10:54:06 -06:00
committed by GitHub

View File

@@ -97,6 +97,11 @@ function joinConference() { // event handler bound in HTML
// noinspection JSIgnoredPromiseFromCall
if (widgetApi) widgetApi.setAlwaysOnScreen(true); // ignored promise because we don't care if it works
console.warn(
"[Jitsi Widget] The next few errors about failing to parse URL parameters are fine if " +
"they mention 'external_api' or 'jitsi' in the stack. They're just Jitsi Meet trying to parse " +
"our fragment values and not recognizing the options.",
);
const meetApi = new JitsiMeetExternalAPI(jitsiDomain, {
width: "100%",
height: "100%",