Just out of curiosity if I have a chat application with an unread message counter...
How do I reset that counter?
Simply put, when User A writes a message, B increments there unread counter. When B is on the message page, I would like to reset that counter each refresh of the messages (it is running on subscribe).
Any ideas?