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 8591b0e commit 4aed6c6Copy full SHA for 4aed6c6
src/main/java/io/socket/client/Socket.java
@@ -353,7 +353,7 @@ public void run() {
353
354
int type = HasBinary.hasBinary(jsonArgs)
355
? Parser.BINARY_ACK : Parser.ACK;
356
- Packet<JSONArray> packet = new Packet<JSONArray>(type, new JSONArray(Arrays.asList(args)));
+ Packet<JSONArray> packet = new Packet<JSONArray>(type, jsonArgs);
357
packet.id = id;
358
self.packet(packet);
359
}
0 commit comments