remove duplicate setAlwaysOnScreen

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2024-01-26 10:01:26 +01:00
parent 58779ae4e7
commit ac3c1f7755

View File

@@ -194,10 +194,7 @@ export const GroupCallView: FC<Props> = ({
): Promise<void> => {
defaultDeviceSetup(ev.detail.data as unknown as JoinCallData);
enterRTCSession(rtcSession, perParticipantE2EE);
await Promise.all([
widget!.api.setAlwaysOnScreen(true),
widget!.api.transport.reply(ev.detail, {}),
]);
await widget!.api.transport.reply(ev.detail, {});
};
widget.lazyActions.on(ElementWidgetActions.JoinCall, onJoin);
return () => {