Skip to content

Commit 2482d17

Browse files
authored
Fix IsConnected property (#94)
1 parent 2b346b9 commit 2482d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/Scripts/Room.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public class Room
130130
public string Metadata { private set; get; }
131131
public LocalParticipant LocalParticipant { private set; get; }
132132
public ConnectionState ConnectionState { private set; get; }
133-
public bool IsConnected => RoomHandle == null && ConnectionState != ConnectionState.ConnDisconnected;
133+
public bool IsConnected => RoomHandle != null && ConnectionState != ConnectionState.ConnDisconnected;
134134
public E2EEManager E2EEManager { internal set; get; }
135135
public IReadOnlyDictionary<string, RemoteParticipant> RemoteParticipants => _participants;
136136

0 commit comments

Comments
 (0)