From 39937634b7d2ab46b405778f4a24b04db2d864e5 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 24 May 2019 09:23:02 +0000 Subject: [PATCH] [FIX] mail: hide im_status RPC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the `/longpolling/im_status` route is slow to respond, the UI might be blocked while there is no good reason to do it. closes odoo/odoo#33643 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/js/services/mail_status_manager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mail/static/src/js/services/mail_status_manager.js b/addons/mail/static/src/js/services/mail_status_manager.js index c06752469b1..3addaf65349 100644 --- a/addons/mail/static/src/js/services/mail_status_manager.js +++ b/addons/mail/static/src/js/services/mail_status_manager.js @@ -89,6 +89,8 @@ MailManager.include({ return this._rpc({ route: '/longpolling/im_status', params: { partner_ids: partnerIDs }, + }, { + shadow: true, }).then( function (results) { self.updateImStatus(results); });