This commit is contained in:
Andrew Ferrazzutti 2024-11-11 12:36:46 -05:00
parent 538332df66
commit 3951ad15c2

View File

@ -183,7 +183,9 @@ export const GroupCallView: FC<Props> = ({
// In preload mode without lobby we wait for a join action before entering
const onJoin = (ev: CustomEvent<IWidgetApiRequest>): void => {
(async (): Promise<void> => {
await defaultDeviceSetup(ev.detail.data as unknown as JoinCallData);
await defaultDeviceSetup(
ev.detail.data as unknown as JoinCallData,
);
await enterRTCSession(rtcSession, perParticipantE2EE);
widget!.api.transport.reply(ev.detail, {});
})().catch((e) => {