Saturday, June 15, 2024
1 change · saas-17.1
Resolved issues and error corrections
This fixes live chat so visitors do not see an extra automated welcome message after an operator has already started the conversation. It keeps chat requests cleaner and prevents customers from receiving redundant greetings when moving between website pages.
Original PR description
Live chat displays a welcome message when the visitor opens the chat. However, when an operator sends a chat request, the welcome message is not necessary as the first operator message will act as a…
Live chat displays a welcome message when the visitor opens the chat. However, when an operator sends a chat request, the welcome message is not necessary as the first operator message will act as a welcome message. Before [1], chat requests data were inserted directly into the JS and the information about who opend the chat was given. However, the data is now fetched from the server and this information is missing. This PR adds this information so that the client can decide whether to display this message. Steps to reproduce this issue: - Go on the website as a visitor - Send a chat request from admin, send a first message - Navigate to another page with the visitor - The welcome message appears in addition to the operator message. [1]: https://github.com/odoo/odoo/pull/142155 Before:  After: 