mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Fixed participant name value in prejoin component
parent
6a01a33dba
commit
16f211751b
|
@ -209,6 +209,7 @@ export class PreJoinComponent implements OnInit, OnDestroy {
|
||||||
private subscribeToLocalParticipantEvents() {
|
private subscribeToLocalParticipantEvents() {
|
||||||
this.localParticipantSubscription = this.participantService.localParticipantObs.subscribe((p) => {
|
this.localParticipantSubscription = this.participantService.localParticipantObs.subscribe((p) => {
|
||||||
this.localParticipant = p;
|
this.localParticipant = p;
|
||||||
|
this.nickname = this.localParticipant.getNickname();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue