Fix room not found view
This commit is contained in:
parent
6866d662f7
commit
cb07ce32cb
1 changed files with 7 additions and 1 deletions
|
@ -22,7 +22,13 @@ export function GroupCallLoader({ client, roomId, viaServers, children }) {
|
|||
);
|
||||
}
|
||||
|
||||
if (error && error.errcode === "M_UNKNOWN" && isLocalRoomId(roomId)) {
|
||||
if (
|
||||
error &&
|
||||
(error.errcode === "M_NOT_FOUND" ||
|
||||
(error.message &&
|
||||
error.message.indexOf("Failed to fetch alias") !== -1)) &&
|
||||
isLocalRoomId(roomId)
|
||||
) {
|
||||
return <RoomNotFoundView client={client} roomId={roomId} />;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue