ov-components: Close connection dialog on room disconnection event
This commit is contained in:
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…
x
Reference in New Issue
Block a user