The unread count of a chat doesn’t seem to updaten when I open the chat that has an unread message.
I use following settings
window.hsConversationsSettings = {
loadImmediately: false,
inlineEmbedSelector: ‘#hubspot-chat’,
enableWidgetCookieBanner: false,
};
When I remove the inlineEmbedSelector and open the chat, the unreadConversationCountChanged event is triggered and the unreadCount is set back to 0. But with inlineEmbedSelector set, the event is not received by the event handler and the unreadCount stays at 1. The red dot in the chat widget stays there, too. No matter how much I interact with the chat widget. I can switch between chats, type in the chat, but it doesnt change.
Only when I refresh the page, the unreadCount is set back to 0. How can I fix this?