DEV Community

Discussion on: A Chat Progressive Web App

Collapse
 
aladinyo profile image
aladinyo

yes of course I will,
In the backend each user has an unreadMessages field in each document in their chats collection and when you send a message to a user this field will be incremented and if the user sees the message it will become 0.

Some comments have been hidden by the post's author - find out more