diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-02-04 11:49:55 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2016-02-08 08:29:53 +0100 |
| commit | 79a8eeb17d16a12ea7ce8fa946dd610c32035bd0 (patch) | |
| tree | d862caa8f5f75338d727f9fb190d16da21765a91 /addons/mail/static/src/xml/chat_window.xml | |
| parent | bc2d86e00f263d9583fb66ae0d451cf911474a7b (diff) | |
[FIX] mail: unread counter on new message in non pinned DM
When a new message arrived in a non pinned DM, the unread counter was
incremented twice ; once because the channel info (along with its unread
counter) was fetched from the server as the channel wasn't in the JS cache yet,
and once when adding the message in the JS.
With this rev., we only increment the unread counter when a new message arrives
if its channel is already in the JS cache.
Diffstat (limited to 'addons/mail/static/src/xml/chat_window.xml')
0 files changed, 0 insertions, 0 deletions
