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

Enable XEP-0198 support #595

Merged
merged 2 commits into from Jan 11, 2016
Merged

Enable XEP-0198 support #595

merged 2 commits into from Jan 11, 2016

Conversation

denschub
Copy link
Contributor

@denschub denschub commented Jan 5, 2016

Support for stream management was added in Smack 4.1.0, so toggling the pref is enough. We don't need to check the server capabilities ourselves, quoting the Smack documentation:

Set if Stream Management should be used if supported by the server.

I also removed the unnecessary cast from AbstractXMPPConnection to XMPPTCPConnection because we actually do have a XMPPTCPConnection here and I see no reason to cast here. Feel free to prove me wrong.

In my second commit, I have sorted the list of supported XEPs which is not really in the scope of this PR. I usually don't like sidetracked changes like this, but I think it really improves readability... Feel free to complain, I'll happily remove this commit if needed.

Merging this would resolve #67.

@grigoryfedorov grigoryfedorov merged commit 79f0fd4 into redsolution:develop Jan 11, 2016
@grigoryfedorov
Copy link
Contributor

Thanks!

@Ape Ape mentioned this pull request Apr 10, 2016
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.

None yet

2 participants