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

Ensure stream:features have been received before consider them "processed" #26

Merged
merged 1 commit into from
May 5, 2014

Conversation

arielscarpinelli
Copy link

I've found the issue working against Tigase server.

Tigase does not send the feature list on the first response after the connection, so the register plugin correctly calls "_no_auth_received" to send a "poll" request; however as the processed_features flag was being set, the register plugin never got to process the actual response with the features, and hence never registers the user.

With this change will ensure that the list was actually received before setting the flag.

jcbrand added a commit that referenced this pull request May 5, 2014
Ensure stream:features have been received before consider them "processed"
@jcbrand jcbrand merged commit c0f1ee3 into strophe:master May 5, 2014
joachimlindborg pushed a commit to joachimlindborg/strophejs-plugins that referenced this pull request May 13, 2015
Pull request
[strophe#26](https://github.com/metajack/strophejs-plugins/pull/26/files) for
fixing the XHTML support used `.h()` for attaching HTML message part.
Without it, it doesn't work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants