mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
remove duplicate setAlwaysOnScreen
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -194,10 +194,7 @@ export const GroupCallView: FC<Props> = ({
|
|||||||
): Promise<void> => {
|
): Promise<void> => {
|
||||||
defaultDeviceSetup(ev.detail.data as unknown as JoinCallData);
|
defaultDeviceSetup(ev.detail.data as unknown as JoinCallData);
|
||||||
enterRTCSession(rtcSession, perParticipantE2EE);
|
enterRTCSession(rtcSession, perParticipantE2EE);
|
||||||
await Promise.all([
|
await widget!.api.transport.reply(ev.detail, {});
|
||||||
widget!.api.setAlwaysOnScreen(true),
|
|
||||||
widget!.api.transport.reply(ev.detail, {}),
|
|
||||||
]);
|
|
||||||
};
|
};
|
||||||
widget.lazyActions.on(ElementWidgetActions.JoinCall, onJoin);
|
widget.lazyActions.on(ElementWidgetActions.JoinCall, onJoin);
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user