You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: