socket.IO-objc icon indicating copy to clipboard operation
socket.IO-objc copied to clipboard

Update SocketIO.m

Open jnoring opened this issue 9 years ago • 2 comments

sendEvent assumes the incoming data isn't an NSArray already; this causes it to double-wrap NSArray objects (so instead of [data], you end up with [[data]]. Check if the incoming objet is of type NSArray, and if so pass it along verbatim.

jnoring avatar Sep 18 '14 16:09 jnoring