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
commit aa9b5e37c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

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);