summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/views/control_panel_tests.js
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2019-02-13 14:21:27 +0000
committerAlexandre Kühn <aku@odoo.com>2019-02-14 12:55:24 +0000
commit8ee218aa5caa6ee10e10e47b80fb384e2e0a7a8b (patch)
treeb633cb8e23428bf12c2d79af9374eb4a678aaf38 /addons/web/static/tests/views/control_panel_tests.js
parent62294921b81325131f6c1d4c6cf757c7da457ebc (diff)
[FIX] mail: notify channel_fetched/channel_seen only when changes
Revision on https://github.com/odoo/odoo/commit/844fb2b51ea7cfa557b19466c0a53dde19433e7a With the commit above, when the JS notified on `channel_fetched` and `channel_seen`, it was always writing in DB and sending notifications on the longpoll. This is useless if the information on last fetched/seen message of the conversation remains unchanged, which is what this commit solves. Also prevent `channel_fetched` from seding notifications on the longpoll if this is called on a non-chat channel.
Diffstat (limited to 'addons/web/static/tests/views/control_panel_tests.js')
0 files changed, 0 insertions, 0 deletions