Jitsi room names don't have /

This commit is contained in:
David Négrier 2020-10-20 19:47:28 +02:00
parent cfed5b3053
commit c03dd4c551

View File

@ -478,7 +478,7 @@ export class GameScene extends ResizableScene implements CenterListener {
if (JITSI_PRIVATE_MODE) { if (JITSI_PRIVATE_MODE) {
const adminTag = allProps.get("jitsiRoomAdminTag") as string|undefined; const adminTag = allProps.get("jitsiRoomAdminTag") as string|undefined;
this.connection.emitQueryJitsiJwtMessage(this.instance + "-" + newValue, adminTag); this.connection.emitQueryJitsiJwtMessage(this.instance.replace('/', '-') + "-" + newValue, adminTag);
} else { } else {
this.startJitsi(newValue as string); this.startJitsi(newValue as string);
} }