Skip to content

Commit bfdbbe2

Browse files
committed
fix: compatible with old and new
1 parent 87eadfb commit bfdbbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SocketIOClient/EioHandler/Eio3Handler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void Unpack(SocketIO io, string text)
5858
}
5959
else
6060
{
61-
if (string.Equals(text, io.Namespace.TrimEnd(',')))
61+
if (text == io.Namespace || text == io.Namespace.TrimEnd(','))
6262
{
6363
io.InvokeConnect();
6464
}

0 commit comments

Comments
 (0)