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

get online users #5

Open
akoidan opened this issue Dec 30, 2014 · 0 comments
Open

get online users #5

akoidan opened this issue Dec 30, 2014 · 0 comments

Comments

@akoidan
Copy link

akoidan commented Dec 30, 2014

Hi, I'm writing a simple web-chat using drealtime. Now here's the issue. I need to update user list on a client side, when someone logs in or out. I can simply get bunch of users using iShoutClient.get_room_status(), but I don't know how to trigger the function when someone joins or leaves a room. The obvious way I can do it is by running a cron or celery job, checking users online for every 5 seconds and refreshing info on a client side if a change has happened. But I think I could use drealtime or socketio broke or establishing the connection event. Could please you give me a follow. Merry Christmas and a Happy new Year!

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