Skip to content

Commit 063763c

Browse files
committed
fix: formatting
1 parent 2b9c0ad commit 063763c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ElevenLabs/Networking/ConnectionManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class ConnectionManager {
8787

8888
func roomDidConnect(_ room: Room) {
8989
// Check if agent is already in the room
90-
if !agentConnected && !room.remoteParticipants.isEmpty {
90+
if !agentConnected, !room.remoteParticipants.isEmpty {
9191
print("[ElevenLabs] ConnectionManager: Agent already in room at connection time")
9292
agentConnected = true
9393
print("[ElevenLabs] ConnectionManager: Marking agent as connected and calling onReady()")

0 commit comments

Comments
 (0)