From ac3c1f77551d5b249e3bde10c5e0f8ec68a9a58b Mon Sep 17 00:00:00 2001 From: Timo K Date: Fri, 26 Jan 2024 10:01:26 +0100 Subject: [PATCH] remove duplicate `setAlwaysOnScreen` Signed-off-by: Timo K --- src/room/GroupCallView.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 93625a3b..9b65ac7b 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -194,10 +194,7 @@ export const GroupCallView: FC = ({ ): Promise => { 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 () => {