mirror of https://github.com/OpenVidu/openvidu.git
ov-components: Close connection dialog on room disconnection event
parent
414c26c31b
commit
413dec3e0f
|
@ -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 || '',
|
||||
|
|
Loading…
Reference in New Issue