diff --git a/addons/web_im/static/src/js/im.js b/addons/web_im/static/src/js/im.js index bba8ae4d27a..554c2c728c5 100644 --- a/addons/web_im/static/src/js/im.js +++ b/addons/web_im/static/src/js/im.js @@ -174,6 +174,7 @@ openerp.web_im = function(instance) { conv.on("destroyed", this, function() { this.conversations = _.without(this.conversations, conv); delete this.users[conv.user_rec.id]; + this.calc_positions(); }); this.conversations.push(conv); this.users[user_rec.id] = conv;