Permalink
Browse files

Merge pull request #113 from BinaryThumb/master

Fixing echo back bug in socket.io
  • Loading branch information...
2 parents c1b3c54 + dfaf193 commit 53bc389b5702c5a0d6d021e4d3bd578d925eb612 @wmertens wmertens committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/socketio.coffee
@@ -79,7 +79,7 @@ exports.attach = (server, createClient, options) ->
p "listener doc:#{docName} opdata:#{i opData} v:#{version}"
# Skip the op if this socket sent it.
- return if opData.meta?.source == client.id
+ return if opData.meta?.source == client.sessionId
opMsg =
doc: docName

0 comments on commit 53bc389

Please sign in to comment.