Skip to content

Conversation

@darrachequesne
Copy link
Member

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

New behaviour

The previous version was confusing, as socket.to(socket.id).emit() does nothing.

Fixes #3220

Other information (e.g. related issues)

The previous version was confusing, as `socket.to(socket.id).emit()` does nothing.

Fixes socketio#3220
@darrachequesne darrachequesne merged commit 2917942 into socketio:master Apr 27, 2018
@darrachequesne darrachequesne deleted the docs/private-message branch April 27, 2018 10:50
dzad pushed a commit to dzad/socket.io that referenced this pull request May 29, 2023
The previous version was confusing, as `socket.to(socket.id).emit()` does nothing.

Fixes socketio#3220
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.

BUG: Emitting to specific socket IDs - won't emit to itself

2 participants