minor fix

bzr revid: nicolas.vanhoren@openerp.com-20121130150912-wp0edl27fpvolibh
This commit is contained in:
niv-openerp 2012-11-30 16:09:12 +01:00
parent a7274b21e7
commit 23f8d7e5c9
1 changed files with 1 additions and 0 deletions

View File

@ -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;