[FIX] mail: hide im_status RPC

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) <aku@odoo.com>
This commit is contained in:
Nicolas Martinelli
2019-05-24 09:23:02 +00:00
parent ea92ce6018
commit 39937634b7
@@ -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);
});