remove left snippet, leave this behaviour to consumer

This commit is contained in:
Elijah Duffy
2026-04-07 17:05:12 -07:00
parent ff2dd60a95
commit 408d3635f6

View File

@@ -49,11 +49,6 @@ interact with the Jitsi instance directly without causing a re-render.
* interface. * interface.
*/ */
joinedOverlay?: Snippet<[api: JitsiMeetExternalAPI]>; joinedOverlay?: Snippet<[api: JitsiMeetExternalAPI]>;
/**
* Optional snippet rendered after the user has left the meeting. Can be used to
* provide a farewell message or other post-meeting content.
*/
left?: Snippet;
/** /**
* Callback function that is called when the Jitsi API is loaded. Can * Callback function that is called when the Jitsi API is loaded. Can
* be used to provide a loading indicator until the API is ready. * be used to provide a loading indicator until the API is ready.
@@ -73,7 +68,6 @@ interact with the Jitsi instance directly without causing a re-render.
loading, loading,
holdLoadingUntilJoined = false, holdLoadingUntilJoined = false,
joinedOverlay, joinedOverlay,
left,
onapiready, onapiready,
onjoin, onjoin,
onleave onleave
@@ -153,10 +147,6 @@ interact with the Jitsi instance directly without causing a re-render.
<div class="overlay-container passthrough">{@render joinedOverlay(api)}</div> <div class="overlay-container passthrough">{@render joinedOverlay(api)}</div>
{/if} {/if}
{#if leftMeeting}
<div class="fill-container">{@render left?.()}</div>
{/if}
<div <div
id="jitsi-iframe" id="jitsi-iframe"
bind:this={container} bind:this={container}