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

Check status CHANGES on client side #8

Open
mburtscher opened this issue Mar 24, 2010 · 0 comments
Open

Check status CHANGES on client side #8

mburtscher opened this issue Mar 24, 2010 · 0 comments

Comments

@mburtscher
Copy link
Contributor

I use "long" requests and my own server-side implementations for the login/poll/post handlers.

At the end of every "poll" request (after 30 seconds) I wanted to send the whole contact list to the client with current statuses of all users. So I added a "status update" message for every user in the contact list. But because AjaxIM doesn't check status CHANGES on client side, i get an output like this in the chat window:
05:28 PM - user became available.
05:28 PM - user became available.
05:29 PM - user became available.
05:29 PM - user became available.
05:30 PM - user became available.
05:30 PM - user became available.

I think status CHANGE checks should be implemented on client side. So if user x is already online and a "status update" message was sent as response to the "poll" request, the new status should only be shown if it really changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant