Some time ago I read a discussion on github on number of new messages and I know that it is not possible to determine the exact number. My question is - is it at all possible to determine whether an user has unread messages.
I need to show this information on my website outside of Tinode's apps. Users may browsing the website and if there is no messages indicator they will not open the chat.
Currently I am using nodejs/
socket.io/mysql chat and users table contains "new_messages" column where the number increases or resets when user access the chat.
Even if user is not browsing the website but it's open, background script checks the new messages number every 5 minutes and updates the new messages indicator.
What are the chances of finding out if there are unread messages in Tinode?