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

Commit 4c7aaa2

Browse files
fix: slot validation
1 parent 171fb25 commit 4c7aaa2

File tree

1 file changed

+1
-1
lines changed
  • src/services/presence-3d-manager

1 file changed

+1
-1
lines changed

src/services/presence-3d-manager/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class Presence3DManager {
5151
};
5252

5353
private onLocalParticipantJoined = (participant: Participant): void => {
54-
if (!participant.slot?.index) {
54+
if (!participant.slot || participant.slot?.index === null) {
5555
setTimeout(() => {
5656
this.onLocalParticipantJoined(this.localParticipant);
5757
}, 2000);

0 commit comments

Comments
 (0)