Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add payload to connect #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jordoh
Copy link
Contributor

@jordoh jordoh commented Nov 11, 2010

The most immediate impact of these changes is the addition of an extra argument to the javascript connect function, and the re-ordering of the CONNECTED and SUBSCRIBED (via auto_subscribe on connect) frames.

This also includes a fix for values returned by the connect webhook that are not actual user options (e.g. "auto_subscribe").

Additional changes:

- The CONNECTED frame is sent before any SUBSCRIBE frames generated by
  the auto_subscribe option of the connect webhook.

- Only valid User options returned by the connect webhook are applied to the
  user, rather than all of the returned options.
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.

1 participant