Skip to content

Commit

Permalink
Added back the connect message for connections, for backwards compati…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
josephg committed Jan 23, 2012
1 parent 4dafee7 commit 9e1f400
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/connection.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class Connection
# Our very own client id.
@id = msg.auth
@setState 'ok'
# For backwards compatibility
@emit 'connect'
return

docName = msg.doc
Expand Down

0 comments on commit 9e1f400

Please sign in to comment.