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

Support Roster Versioning from RFC6121 #164

Open
lnjX opened this issue Nov 23, 2018 · 0 comments
Open

Support Roster Versioning from RFC6121 #164

lnjX opened this issue Nov 23, 2018 · 0 comments

Comments

@lnjX
Copy link
Member

lnjX commented Nov 23, 2018

https://tools.ietf.org/html/rfc6121#section-2.6 (the standard is almost the same as in the obsolete XEP-0237)

This would allow us to avoid fetching the full roster on every connect which is especially good for mobile connections.

Things to be done for this:

  • Cache roster stanza with roster version in a file (should be configurable if to do so and where to save)
  • on connect check stream feature and include roster version in request (if cached)

The version attribute in the RosterIq is already implemented (5be0f37) (the commit description there is misleading: as an application it's currently not possible to actually use the XEP, because you can't adapt the roster request and can't access the stream features).

This would also fix this issue: #74

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

No branches or pull requests

1 participant