Fix embedded mode
This was trying to get the room alias, which causes the config to be read. We don't need the room alias here though, so pass the flag to not return it.
This commit is contained in:
1 parent
05505a6177
commit
f28cf0ce69
1 file changed
+1
-1
+1
-1
@@ -109,7 +109,7 @@ export const widget: WidgetHelpers | null = (() => {
|
|||||||
baseUrl,
|
baseUrl,
|
||||||
e2eEnabled,
|
e2eEnabled,
|
||||||
allowIceFallback,
|
allowIceFallback,
|
||||||
} = getUrlParams();
|
} = getUrlParams(true);
|
||||||
if (!roomId) throw new Error("Room ID must be supplied");
|
if (!roomId) throw new Error("Room ID must be supplied");
|
||||||
if (!userId) throw new Error("User ID must be supplied");
|
if (!userId) throw new Error("User ID must be supplied");
|
||||||
if (!deviceId) throw new Error("Device ID must be supplied");
|
if (!deviceId) throw new Error("Device ID must be supplied");
|
||||||
|
|||||||
Reference in new issue
Block a user