Create room when not found and lowercase name

This commit is contained in:
Robert Long
2022-03-03 16:56:45 -08:00
parent 014b740e47
commit 35fb1e710b
6 changed files with 44 additions and 115 deletions

View File

@@ -18,7 +18,7 @@ export function RoomRedirect() {
roomId = `#${roomId}:${defaultHomeserverHost}`;
}
history.replace(`/room/${roomId}`);
history.replace(`/room/${roomId.toLowerCase()}`);
}, [pathname, history]);
return <LoadingView />;