From cb07ce32cb5a70454c475fcd7eb08e858b2c4ae1 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 15 Feb 2022 15:00:06 -0800 Subject: [PATCH] Fix room not found view --- src/room/GroupCallLoader.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/room/GroupCallLoader.jsx b/src/room/GroupCallLoader.jsx index 799426f..1f2a252 100644 --- a/src/room/GroupCallLoader.jsx +++ b/src/room/GroupCallLoader.jsx @@ -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 ; }