Hi,
I'm implementing Web Messaging for a customer and they want Auto start. When I turn on Auto-start, everything works fine until you navigate away from the web messaging page or the page re-loads on a mobile phone.
What I found was that when you set auto-start, Genesys web messaging window does "NOT" reload the chat history, causing quite a lot of issues.
As such, I've added below code to force the history to be loaded at the beginning.
Genesys("subscribe", "MessagingService.started", function({data}){
if ( !data.newsession ) {
Genesys("command", "MessagingService.fetchHistory");
}
});
But now the problem is that after the history is loaded, the chat history area is at the "top" of the messages, showing the oldest messages.
Is there a message that will cause chat history to go to the bottom?
Thanks,
Taisuk