When a requester closes a chat session using the "X" button, the agent interface does not receive any notification indicating that the session has ended. As a result, the agent may continue sending messages, unaware that the requester is no longer receiving them.
This leads to confusion and a breakdown in communication. Could we explore a solution where the agent is notified immediately when the requester closes the chat by using X button.