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

Commit

Permalink
fix: slot validation
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossantos74 committed Aug 13, 2024
1 parent 171fb25 commit 4c7aaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/presence-3d-manager/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Presence3DManager {
};

private onLocalParticipantJoined = (participant: Participant): void => {
if (!participant.slot?.index) {
if (!participant.slot || participant.slot?.index === null) {
setTimeout(() => {
this.onLocalParticipantJoined(this.localParticipant);
}, 2000);
Expand Down

0 comments on commit 4c7aaa2

Please sign in to comment.