Convert room id to lowercase

This commit is contained in:
Robert Long 2022-02-14 12:35:07 -08:00
parent 742d658021
commit a369444b62

View file

@ -32,7 +32,7 @@ export function RoomPage() {
const params = new URLSearchParams(search);
return [params.has("simple"), params.getAll("via")];
}, [search]);
const roomId = maybeRoomId || hash;
const roomId = (maybeRoomId || hash || "").toLowerCase();
if (loading) {
return <LoadingView />;