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

Use XEP-0012: Last Activity #453

Closed
daniele-athome opened this issue Jun 10, 2015 · 0 comments
Closed

Use XEP-0012: Last Activity #453

daniele-athome opened this issue Jun 10, 2015 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@daniele-athome
Copy link
Member

Drop use of roster presence last seen information (which would be sent by the server everytime even if it's not used by clients) and replace it with a last activity request sent on every opening of the compose message fragment. This guarantees live retrieval of the last seen value and lighter roster presence information at the expense of network traffic and energy by the client - this is also an opportunity to test the connection to the server.

Be sure to cache the value into the Contact instance to avoid making a request every time.

@daniele-athome daniele-athome added the enhancement New feature or request label Jun 10, 2015
@daniele-athome daniele-athome added this to the 3.0 milestone Jun 10, 2015
@daniele-athome daniele-athome self-assigned this Jun 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant