Merge pull request #1850 from thecodingmachine/stabilize-cowebsite

Fix Jitsi co-website reloading
This commit is contained in:
Alexis Faizeau
2022-02-10 15:50:59 +01:00
committed by GitHub
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -2157,9 +2157,9 @@ ${escapedMessage}
);
const jitsiUrl = allProps.get(GameMapProperties.JITSI_URL) as string | undefined;
coWebsite.setJitsiLoadPromise(
jitsiFactory.start(roomName, this.playerName, jwt, jitsiConfig, jitsiInterfaceConfig, jitsiUrl)
);
coWebsite.setJitsiLoadPromise(() => {
return jitsiFactory.start(roomName, this.playerName, jwt, jitsiConfig, jitsiInterfaceConfig, jitsiUrl);
});
coWebsiteManager.loadCoWebsite(coWebsite).catch((err) => {
console.error(err);