https://dojo.telerik.com/uJIwiyih
With version 2024.1.319, the sendMessage of chat is called twice whereas the bug doesn't exist in version 2022.3.913.
Is there a solution?
Hi,
A temporary workaround you can use is to unbind the sendMessage handler from the messageBox of the chat as demonstrated in the example below:
function sendMessageHandler(e) {
console.log("Message sent: " + e.text);
}
var chat = $("#chat").kendoChat({
sendMessage: sendMessageHandler
}).getKendoChat();
chat.messageBox.unbind("sendMessage", sendMessageHandler);
Regards,
Peter Milchev
Progress Telerik