Skip to content

Conversation

darrachequesne
Copy link
Member

Following #959

Currently, the socket.id for a non-default namespace is different on the server / on the client (e9232kh on the client, no matter which namespace, but /<nsp>#e9232kh on the server). That commit fixes that.

Related: https://github.com/socketio/socket.io/pull/2509/files

@darrachequesne darrachequesne merged commit fcb5c43 into socketio:master Jan 13, 2017
@darrachequesne darrachequesne deleted the fix/socket-id branch January 13, 2017 15:53
@darrachequesne darrachequesne added this to the 2.0.0 milestone Jun 1, 2017
bot-linagora pushed a commit to linagora/openpaas-esn that referenced this pull request Sep 18, 2019
io.of(namespace).sockets will be an object instead of array

the id of connection on client side in the new version is appended by a namespace prefix. Take a look at: socketio/socket.io-client#1058
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants