mirror of
https://github.com/element-hq/element-call.git
synced 2026-11-04 06:42:30 +00:00
1 parent
761eee2cdc
commit
5ebdf3e878
1 file changed
+1
-1
@@ -31,7 +31,7 @@ export function RoomPage() {
|
||||
const { hash, search } = useLocation();
|
||||
const [viaServers, isEmbedded] = useMemo(() => {
|
||||
const params = new URLSearchParams(search);
|
||||
return [params.getAll("via"), params.get("embed") !== null];
|
||||
return [params.getAll("via"), params.has("embed")];
|
||||
}, [search]);
|
||||
const roomId = (maybeRoomId || hash || "").toLowerCase();
|
||||
|
||||
|
||||
Reference in new issue
Block a user