Fixing bug in redirect handling of rooms
This commit is contained in:
parent
bf64f8890d
commit
4a7be94b92
@ -104,9 +104,9 @@ export class Room {
|
|||||||
|
|
||||||
const data = result.data;
|
const data = result.data;
|
||||||
|
|
||||||
if (isRoomRedirect(data.redirectUrl)) {
|
if (isRoomRedirect(data)) {
|
||||||
return {
|
return {
|
||||||
redirectUrl: data.redirectUrl as string,
|
redirectUrl: data.redirectUrl,
|
||||||
};
|
};
|
||||||
} else if (isMapDetailsData(data)) {
|
} else if (isMapDetailsData(data)) {
|
||||||
console.log("Map ", this.id, " resolves to URL ", data.mapUrl);
|
console.log("Map ", this.id, " resolves to URL ", data.mapUrl);
|
||||||
|
Loading…
Reference in New Issue
Block a user