Skip to content

Commit

Permalink
Show callermenu when call is activated
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Nov 21, 2023
1 parent 17acc80 commit 9693677
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,13 @@

{#if ($user.loggedIn && $webRTC.call.length != 0) || $webRTC.incoming.length != 0}
<VideoGrid/>

{#if $webRTC.call.length}
<CallerMenu
on:click="{endThisCall}"
on:endCall="{endThisCall}"
paused="{!showCallerMenu}"
/>
{/if}

{#each $webRTC.call as thiscall}
{#if $webRTC.call.some((a) => a.peerAudio === true)}
Expand Down

0 comments on commit 9693677

Please sign in to comment.