From f82012d31556e6be315c7337f3144931e3daf785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 5 Jan 2022 16:30:41 +0100 Subject: [PATCH] Flagging Room.isPublic property as deprecated --- front/src/Connexion/Room.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/front/src/Connexion/Room.ts b/front/src/Connexion/Room.ts index 7d7c2667..74dd06de 100644 --- a/front/src/Connexion/Room.ts +++ b/front/src/Connexion/Room.ts @@ -18,7 +18,10 @@ export interface RoomRedirect { export class Room { public readonly id: string; - public readonly isPublic: boolean; + /** + * @deprecated + */ + private readonly isPublic: boolean; private _authenticationMandatory: boolean = DISABLE_ANONYMOUS; private _iframeAuthentication?: string = OPID_LOGIN_SCREEN_PROVIDER; private _mapUrl: string | undefined; @@ -149,6 +152,8 @@ export class Room { * Instance name is: * - In a public URL: the second part of the URL ( _/[instance]/map.json) * - In a private URL: [organizationId/worldId] + * + * @deprecated */ public getInstance(): string { if (this.instance !== undefined) {