Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 7bae3d3

Browse files
Merge pull request #755 from SuperViz/fix/update-host-info
fix: properly update host info on the room
2 parents ae26b9e + 53a16ca commit 7bae3d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/video/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ export class VideoConference extends BaseComponent {
548548
...localParticipant.value,
549549
avatar: participant.avatar,
550550
name: participant.name,
551+
type: this.params.userType,
551552
});
552553

553554
coreBridge.updateParticipantsList({
@@ -565,6 +566,7 @@ export class VideoConference extends BaseComponent {
565566
coreBridge.updateLocalParticipant({
566567
...localParticipant.value,
567568
name: newParticipantName,
569+
type: this.params.userType,
568570
});
569571

570572
coreBridge.updateParticipantsList({
@@ -829,6 +831,7 @@ export class VideoConference extends BaseComponent {
829831
this.publish(MeetingEvent.MEETING_HOST_AVAILABLE);
830832
return;
831833
}
834+
832835
this.publish(MeetingEvent.MEETING_NO_HOST_AVAILABLE);
833836
};
834837

0 commit comments

Comments
 (0)