diff --git a/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/pages/meeting/meeting.component.html b/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/pages/meeting/meeting.component.html index 878d048f..705dc314 100644 --- a/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/pages/meeting/meeting.component.html +++ b/meet-ce/frontend/projects/shared-meet-components/src/lib/domains/meeting/pages/meeting/meeting.component.html @@ -13,7 +13,7 @@

Unable to load the lobby. Please try reloading the page.

} -} @else { +} @else if (!isMeetingLeft()) { ; protected meetingService = inject(MeetingService); protected participantService = inject(RoomMemberService); @@ -196,6 +201,14 @@ export class MeetingComponent implements OnInit { window.open(`/room/${this.roomId()}/recordings?secret=${this.roomSecret()}`, '_blank'); } + /** + * Handles the participant left event and hides the videoconference component + */ + protected onParticipantLeft(event: any): void { + this.isMeetingLeft.set(true); + this.eventHandlerService.onParticipantLeft(event); + } + /** * Centralized logic for managing video pinning based on * remote participants and local screen sharing state.