From 0511a88f85d8ddda5b80a5f4fb103d3238fcceb0 Mon Sep 17 00:00:00 2001 From: Xavier Dubuc Date: Thu, 30 Jul 2020 13:56:24 +0000 Subject: [PATCH] [FIX] im_livechat: fix visitors typing issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In livechat, chat_post was called without notifying user has stopped typing as done in new way of handling it in new mail module. This commit handles the legacy by calling notify_typing rpc as needed. task-2282271 task-2299331 closes odoo/odoo#55223 X-original-commit: 030ea9adf74f3f4c0d61b19870d6894de1f20c75 Signed-off-by: Alexandre Kühn (aku) --- addons/im_livechat/static/src/legacy/public_livechat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/im_livechat/static/src/legacy/public_livechat.js b/addons/im_livechat/static/src/legacy/public_livechat.js index 1b6d5cda160..66e11ab2833 100644 --- a/addons/im_livechat/static/src/legacy/public_livechat.js +++ b/addons/im_livechat/static/src/legacy/public_livechat.js @@ -316,6 +316,7 @@ var LivechatButton = Widget.extend({ */ _sendMessage: function (message) { var self = this; + this._livechat._notifyMyselfTyping({ typing: false }); return session .rpc('/mail/chat_post', { uuid: this._livechat.getUUID(), message_content: message.content }) .then(function (messageId) {