We are using webchat version 2 and would like for the chat to end automatically when the client logs out or gets timed out from the website.
From the link below we have added the following:
https://all.docs.genesys.com/WID/Current/SDK/WebChat-combined#endChat
onclick = "if (CXBus) { CXBus.command('WebChat.endChat'); }" }
We are now, however, getting what seems to be a bug, where if the chat is ended this way the user is repeatedly asked to resume the chat.
Selecting ‘No thanks’ closes the menu for the current page, but when the user navigates to a new url the message is repeated. does anyone know how to solve this?