Answer the question
In order to leave comments, you need to log in
How to track that there is a new unread message?
For the site, you need to make a messaging system based on a chat, like in VK. I already did all this through socket.io using rooms, but I stopped at the implementation of receiving a notification to users that they have a new unread message if they are not in a chat (in a specific room). What is the best way to implement the definition of what is a new unread message?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question