From 3bd75884978c144966d6aaab75d950d699f567a4 Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Thu, 22 May 2025 17:49:40 -0500 Subject: [PATCH] Add widgetId as a getWidgetUrl param --- src/app/features/room/SmallWidget.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/features/room/SmallWidget.ts b/src/app/features/room/SmallWidget.ts index d2e0e379..1371a901 100644 --- a/src/app/features/room/SmallWidget.ts +++ b/src/app/features/room/SmallWidget.ts @@ -40,6 +40,7 @@ export const getWidgetUrl = ( mx: MatrixClient, roomId: string, elementCallUrl: string, + widgetId: string, setParams: any ): URL => { const baseUrl = window.location.origin; @@ -48,7 +49,7 @@ export const getWidgetUrl = ( const params = new URLSearchParams({ embed: 'true', - widgetId: `element-call-${roomId}`, + widgetId, appPrompt: 'false', preload: 'false', skipLobby: setParams.skipLobby ?? 'true',