K
K
kwolfy2016-05-08 15:02:27
Node.js
kwolfy, 2016-05-08 15:02:27

How can the messenger update the client's online status?

There is a task - to keep the status of the user always actual. Sockets are used on the server.
Current implementation: when a client authorizes, an event is called for all his contacts - login and logout, respectively
. Each time the client is opened, the entire list of contacts with the date of their last visit is naturally obtained

. What other options are there to solve this problem using api and / or sockets?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question