diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-11-18 11:16:18 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-11-23 16:29:08 +0100 |
| commit | faf5cea9480bfdd0635bccbc3a9ea88c19ceeb64 (patch) | |
| tree | 58fdebc6cc9b1b2a1148ad6fbcf80b3c35fd113e /addons/mail/static/src/js/window_manager.js | |
| parent | 00630c5fd7844304122f7cbae59c5f329515fea5 (diff) | |
[FIX] mail: various UI improvements
- emoji are no more clickable in threads (they are only in the popover)
- correctly update channel needaction counter
- don't display 'New message' notification when the channel in detached
- display in the ui channels that send emails and other channels
- prevent notifications in mass mailing channels
- increase bottom padding in client action thread
Diffstat (limited to 'addons/mail/static/src/js/window_manager.js')
| -rw-r--r-- | addons/mail/static/src/js/window_manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/window_manager.js b/addons/mail/static/src/js/window_manager.js index aacf2a2919f..2326ef14dc2 100644 --- a/addons/mail/static/src/js/window_manager.js +++ b/addons/mail/static/src/js/window_manager.js @@ -100,7 +100,7 @@ core.bus.on('web_client_ready', null, function () { chat_manager.bus.on('anyone_listening', null, function (channel, query) { _.each(chat_sessions, function (session) { - if (_.contains(channel.id, session.id)) { + if (channel.id === session.id) { query.is_displayed = true; } }); |
