Hi,
I am currently working on a POC using Openfire. So far, I have been able to achieve features like sending messages in group chats and broadcasting messages. However, I’m facing challenges with the following requirements and would appreciate suggestions or best practices on how to achieve these (both from the Frontend(React with @xmpp/client) and Backend(Java) ):
1) Unread Message Notifications:
When a user is active in one chat room, they don’t see notifications for new messages arriving in other rooms. How can we track unread messages across rooms and display notifications to the user?
2) Offline Message Retrieval:
How can we retrieve and display all messages sent in chat rooms while a user was offline, once they log back in?