Move default homeserver to config file

This commit is contained in:
David Baker
2022-12-20 17:26:45 +00:00
parent 282a4853cf
commit 96de515e56
13 changed files with 69 additions and 54 deletions

View File

@@ -61,7 +61,7 @@ export const useLoadGroupCall = (
return room;
} catch (error) {
if (
isLocalRoomId(roomIdOrAlias) &&
isLocalRoomId(roomIdOrAlias, client) &&
(error.errcode === "M_NOT_FOUND" ||
(error.message &&
error.message.indexOf("Failed to fetch alias") !== -1))