ov-components: Close connection dialog on room disconnection event

master
Carlos Santos 2025-07-30 12:38:09 +02:00
parent 414c26c31b
commit 413dec3e0f
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ export class SessionComponent implements OnInit, OnDestroy {
this.room.on(RoomEvent.Disconnected, async (reason: DisconnectReason | undefined) => {
this.shouldDisconnectRoomWhenComponentIsDestroyed = false;
this.actionService.closeConnectionDialog();
const participantLeftEvent: ParticipantLeftEvent = {
roomName: this.openviduService.getRoomName(),
participantName: this.participantService.getLocalParticipant()?.identity || '',