public void UpdateCurrentConsultationRoom(ConsultationRoom consultationRoom) { if (consultationRoom?.Id == CurrentConsultationRoomId) { return; } CurrentConsultationRoom?.RemoveParticipant(new RoomParticipant(Id)); CurrentConsultationRoom = consultationRoom; }
public void UpdateCurrentVirtualRoom(ConsultationRoom consultationRoom) { CurrentConsultationRoom?.RemoveEndpoint(new RoomEndpoint(Id)); CurrentConsultationRoom = consultationRoom; }