fix keepCircle Property
This commit is contained in:
parent
3b98888c3a
commit
bc7d9a96fe
@ -1897,13 +1897,15 @@ export class GameScene extends DirtyScene {
|
|||||||
|
|
||||||
const jitsiKeepCircle = allProps.get("jitsiKeepCircle") as boolean | false;
|
const jitsiKeepCircle = allProps.get("jitsiKeepCircle") as boolean | false;
|
||||||
|
|
||||||
if (!jitsiKeepCircle) {
|
this.connection?.setSilent(true);
|
||||||
this.connection?.setSilent(true);
|
mediaManager.hideGameOverlay();
|
||||||
mediaManager.hideGameOverlay();
|
|
||||||
} else {
|
if (jitsiKeepCircle) {
|
||||||
const silent = this.gameMap.getCurrentProperties().get("silent");
|
const silent = this.gameMap.getCurrentProperties().get("silent");
|
||||||
this.connection?.setSilent(!!silent);
|
this.connection?.setSilent(!!silent);
|
||||||
|
mediaManager.showGameOverlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
analyticsClient.enteredJitsi(roomName, this.room.id);
|
analyticsClient.enteredJitsi(roomName, this.room.id);
|
||||||
|
|
||||||
//permit to stop jitsi when user close iframe
|
//permit to stop jitsi when user close iframe
|
||||||
|
Loading…
Reference in New Issue
Block a user