We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9c0ad commit 063763cCopy full SHA for 063763c
Sources/ElevenLabs/Networking/ConnectionManager.swift
@@ -87,7 +87,7 @@ class ConnectionManager {
87
88
func roomDidConnect(_ room: Room) {
89
// Check if agent is already in the room
90
- if !agentConnected && !room.remoteParticipants.isEmpty {
+ if !agentConnected, !room.remoteParticipants.isEmpty {
91
print("[ElevenLabs] ConnectionManager: Agent already in room at connection time")
92
agentConnected = true
93
print("[ElevenLabs] ConnectionManager: Marking agent as connected and calling onReady()")
0 commit comments