Merge branch 'develop' of github.com:thecodingmachine/workadventure into 2daysLimit
This commit is contained in:
commit
c85679b42c
117 changed files with 3650 additions and 3102 deletions
|
@ -104,9 +104,13 @@ export class Room {
|
|||
|
||||
const data = result.data;
|
||||
|
||||
if (isRoomRedirect(data.redirectUrl)) {
|
||||
if (data.authenticationMandatory !== undefined) {
|
||||
data.authenticationMandatory = Boolean(data.authenticationMandatory);
|
||||
}
|
||||
|
||||
if (isRoomRedirect(data)) {
|
||||
return {
|
||||
redirectUrl: data.redirectUrl as string,
|
||||
redirectUrl: data.redirectUrl,
|
||||
};
|
||||
} else if (isMapDetailsData(data)) {
|
||||
console.log("Map ", this.id, " resolves to URL ", data.mapUrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue