Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2021-10-13 10:30:12 +02:00
7 changed files with 20 additions and 8 deletions
+6
View File
@@ -21,6 +21,7 @@ export class Room {
// private instance: string | undefined;
private readonly _search: URLSearchParams;
private _contactPage: string | undefined;
private _group: string | null = null;
private constructor(private roomUrl: URL) {
this.id = roomUrl.pathname;
@@ -105,6 +106,7 @@ export class Room {
console.log("Map ", this.id, " resolves to URL ", data.mapUrl);
this._mapUrl = data.mapUrl;
this._textures = data.textures;
this._group = data.group;
this._authenticationMandatory = data.authenticationMandatory || false;
this._iframeAuthentication = data.iframeAuthentication;
this._contactPage = data.contactPage || CONTACT_URL;
@@ -189,4 +191,8 @@ export class Room {
get contactPage(): string | undefined {
return this._contactPage;
}
get group(): string | null {
return this._group;
}
}